Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / ranabir chakraborty

both are the same concept the java object reference and c++
pointer.the object reference stored in the memory heap and
object are stored in stack.
Pointer are locate the address of the variables and object
reference locate the value of the variables.

Is This Answer Correct ?    11 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of valueof () in java?

1044


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

1047


What is hashing principle in java?

1015


How many types of memory areas are allocated by JVM in java?

1064


Can a abstract class be declared final?

988


Does java linked list allow duplicates?

967


what is comparable and comparator interface?

981


What is the difference between the final method and abstract method?

1035


Difference between overriding and overloading in java?

1061


How does hashset works in java?

1076


What are the restrictions imposed on method overriding?

1000


Tell some latest versions in JAVA related areas?

983


Explain about main() method in java ?

1056


What are the advantages of java over C++?

1194


Whats the difference between notify() and notifyall()?

1034