Computer Science
..understanding.. a detour from limitedness to the unlimited... :)
Search This Blog
Friday, May 20, 2011
Java and References
Point to note;
Java has pointers!!
Java : Dog d = new Dog("Wicky"); is same as
C++: Dog *d;
When you pass foo(d) in Java, you actually pass the pointer
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment