Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
pointers
bharat bhasin
Greenhorn
Posts: 19
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how are references in
java
different from pointers in c and c++.
Henry Wong
author
Posts: 23951
142
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can't do pointer arithmetic is Java. All you can do, with a Java reference, is dereference it. So, tricks in C, such as calculating a memory location in an array or structure, to be treated as something else, won't work.
Henry
Books:
Java Threads, 3rd Edition
,
Jini in a Nutshell
, and
Java Gems (contributor)
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Why Java ?
difference between pointer and reference
Java in data structures and linked list
lambda probe shows unproportial number of sesssions
basic difference between c++ and java
More...