For efficiency, the class name must be complete. If resolve is true, it uses {@link #resolveClass(Class)}to further resolve the class. Resolving a class is a step in preparing the class for use. It is not always required. When Java virtual machine merely uses the signature of the loaded class to perform dynamic verification, {@link #loadClass(String)}calls this function with resolve equal to false when this is the case. @param name The partial name of the class to be loaded. @param resolve Whether {@link #resolveClass(Class)} should becalled. @return The class loaded with the given name in the scope. @exception ClassNotFoundException If the class cannot be found.
|
|