Question: Which code creates a new object from the Employee class?
- Employee currentEmployee = Employee.Create();
- Employee currentEmployee = new Employee();
- Employee currentEmployee;
- Employee currentEmployee = Employee.New();
Answer: The correct answer of the above question is Option B:Employee currentEmployee = new Employee();