what is the difference between a java object reference and
c++ pointer?

Answer Posted / puneet

The above answer is wrong; Objects are stored on heap;
Refrence contains the way to reach out to the object.
pointers point to the location where a primitive type is
stored.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an example of a keyword?

535


What is the difference between post and put?

533


What is compareto () in java?

533


What is an array length?

492


Explain about automatic type conversion in java?

561






What is a percentage sign called?

614


How do you find the independent variable?

503


What is java beans?

566


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

599


What is anti pattern in programming?

492


Explain java coding standards for variables ?

663


What is data structure in java?

525


How do I compare two strings in word in java?

532


How do you remove an element from an arraylist in java?

458


What invokes a thread's run() method in java programming?

560