Which of the following would be a valid call to the default constructor for the following class?

Question:

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: