Communiquez avec les autres et partagez vos connaissances professionnelles

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

Suivre

What do you mean by static loading and Dynamic loading in java?

user-image
Question ajoutée par Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date de publication: 2013/11/28
Muhammed Rahshad Koyippalli
par Muhammed Rahshad Koyippalli , Cisco DNAC Senior Escalation Engineer , Cisco Systems - India

  • The static class loading is done through the new operator.
  • Dynamic class loading is achieved through Run time type identification. Also called as reflection.
  • This is done with the help of the following methods:getClass(); getName(); getDeclaredFields(); Instance can also be created using forName() method. It loads the class into the current class memory.  

More Questions Like This

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