Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Is there a concept of “pointers” or “unsafe code” in Java? and How is a Java reference different from a C pointer?

user-image
Question ajoutée par ahmad yassine , Business Development & Performance , Boubyan Bank
Date de publication: 2013/12/03

In C we can do illegal  operations because of pointers (by accessing the address of that variable),but in the case of java it won't possible because of JVM ,In java JVM will generate the hash code(address) of the reference(variable), JVM having seperate HashMap to generate the Hash Code(Address).....................  :)

Khaja Nayeemuddin Mohammed
par Khaja Nayeemuddin Mohammed , Senior Consultant , Infosys

Java dosent support the concept of pointers.

since Java is a virtual machine, pointer is a useless idea.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?