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:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: