集册 Java 面试笔记 What does the Class.forName("MyClass") do?

What does the Class.forName("MyClass") do?

欢马劈雪     最近更新时间:2020-08-04 05:37:59

105

Loads the class MyClass.

Execute any static block code of MyClass.

Returns an instance of MyClass.