This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes C Pointers and Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "C Pointers and Java" Watch "C Pointers and Java" New topic
Author

C Pointers and Java

sree kov
Greenhorn

Joined: Jul 23, 2001
Posts: 15
I have read something like :
"The strength of C pointers is lost in java"
Can anyone comment on this ???
Regards,
Sree
shomalbafna
Greenhorn

Joined: Jul 31, 2001
Posts: 4
Hey Sree Kov
When we talk about the strength of pointers it is also very important to understand the cons of pointers. We very well know the pointers directly allow us to manipulate values in memory locations. And can also address to mem-locations belonging to other programs. This is serious problem when it comes to security.
If this strength then it is lost in java.
Whereas java language does maintain pointers internally but the programmer is not allowed with the same privilege. Its the VM through which the calls are made to the H/w hence optimising the need for security at a very high level.
regards shomal
rajesh purohit
Ranch Hand

Joined: May 02, 2001
Posts: 33
i worked in both c/c++ and java. and i personally feel that java has lost the strength of pointers.
any one who works in c/c++ will be knowing that how important is pointer (and anyone can enjoy using it :P)
bye for now
Rajesh Purohit
INDIA
----------------------------------------------
visit me at www.geocities.com/rajesh_purohit/index.html

Bye for Now<P>Rajesh Purohit<BR>INDIA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: C Pointers and Java
 
Similar Threads
difference between pointer and reference
Why Java ?
Java in data structures and linked list
basic difference between c++ and java
pointers