public static ClassforName(String className) throws ClassNotFoundException
Class
Class.forName(className, true, currentLoader)
currentLoader
For example, the following code fragment returns the runtime Class descriptor for the class named java.lang.Thread:
java.lang.Thread
Class t = Class.forName("java.lang.Thread")
A call to forName("X") causes the class named X to be initialized.
className
LinkageError
ExceptionInInitializerError
ClassNotFoundException
Se souvenir du profil
Mot de passe oublié ? / Activation de compteCréer un compte
1 873 818 membres 115 nouveaux aujourd'hui 16 151 membres club