There is also an external 'input' object in the response, response, and response'
Forum discussion: http://topic.csdn.net/u/20090820/09/a3a7f0bd-f23f-450e-b97c-067a94b4dc11.html
Java objects can be created in either of the following ways: New XX () and class. forname ("XX "). newinstance (). I am confused about this process.
To generate a class object, you must load two things into the memory, one is the class object, and the other is the class object before the class object is created. because Java is dynamically loaded (the static members of the class are cited
), So when the class is loaded, the following two methods are compared to the above: First: New
XX (), because the constructor method is also a static method, this method will call the constructor method, so the class will be loaded; Second: class. forname () first checks whether the class is added
Load. If not, the class is loaded. At this point, both classes are loaded.
My question is, when is the class Object loaded? Is it the same as the class object? (What I know now about the class object is that it is created in the. Java file, compiled and generated with the class name.
The same word. class file .) before or after a class is loaded, how can class objects be generated together with classes... I hope you can express your opinions more.