Question
Difference between loadClass and Class.forName?
Answer
loadClass only loads the class but doesn’t initialize the object whereas Class.forName initialize the object after loading it.
Difference between loadClass and Class.forName?
loadClass only loads the class but doesn’t initialize the object whereas Class.forName initialize the object after loading it.