Java Reference
In-Depth Information
Figure 2-10.
I. The Employee constructor finishes executing (and the Employee object is complete). Execution returns to
EmployeeApp's main method. The statements to the right of the assignment are complete so the statement to the left
of the assignment is executed ( Employee emp ). This creates an Employee variable called emp (see Figure 2-11 ).
Search WWH ::




Custom Search