Narayana Tutorial

Online Java Tutorial Blog

Tag: class.forName

Difference between Class.forName() and newInstance() in java

Difference between Class.forName() and newInstance() in java   Class.forName()┬áreturns the Class-Type for the given name. Means that it will return reference to a class and load the available all static blocks not instance methods. if you are interested only in the static block of the class , the loading the class only would do , […]

Narayana Tutorial © 2016 Frontier Theme
Show Button
Hide Button