Java Reference
In-Depth Information
Figure 5-1.
When the object is created ( new Employee(); ), the machine language version of the Employee class is moved
into main memory and executed. This means the class variables are created and the Employee constructor is
executed. After the constructor finishes, all of the Employee class methods and variables remain in main memory
(see Figure 5-2 ).
Figure 5-2.
 
Search WWH ::




Custom Search