Question OOP-CLS-0060
MediumWhat is an anonymous object, such as new Printer().print(doc) in Java?
- A.
An object of an abstract class
- B.
An object used once without being stored in a variable
- C.
An object with no fields
- D.
An object with no class
Sign up free to see the answer and a step-by-step explanation.