Which of the following would be a valid call to the default constructor for the
following class?
public class Employee {
a. Employee employee1 = new Employee( );
b. Employee employee1= new undergrad( );
c. Employee employee1;
d. Employee employee1= new Employee(default);
e. Not enough information is given to be able to answer.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.