ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
تاريخ النشر: 2013/11/28
Muhammed Rahshad Koyippalli
من قبل 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.  

المزيد من الأسئلة المماثلة