What do you mean by the following statement? Employee staff = new Employee();
Objects & Classes
6 Likes
Answer
This statement creates a new object of class Employee. The newly created object is assigned to a variable named staff which is of Employee type. The object can be accessed using staff variable.