What do you mean by nameless objects?
A. An object created by using the new keyword.
B. An object of a superclass created in the subclass.
C. An object without having any name but having a reference.
D. An object that has no reference.
Answer:D
What do you mean by nameless objects?
A. An object created by using the new keyword. B. An object of a superclass created in the subclass. C. An object without having any name but having a reference. D. An object that has no reference.
Explanation: The nameless objects are basically referred to as anonymous objects. The anonymous objects do not have any names. We can also say that, when an object is initialized but is not assigned to any reference variable, it is called an anonymous object. For example, new Employee();.