File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "C Pointers and Java" Watch "C Pointers and Java" New topic

C Pointers and Java

sree kov

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 ???

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
visit me at

Bye for Now<P>Rajesh Purohit<BR>INDIA
I agree. Here's the link:
subject: C Pointers and Java
It's not a secret anymore!