Class.forName() and Class.class both can get the Class object.What is the different of them? I noticed that static method block don't execute when I got class object by Class.class.Is the class file not loaded by JVM yet?
Asked
Active
Viewed 62 times