1.

What is true about Class.getInstance()?

A. Class.getInstance calls the constructor
B. Class.getInstance is same as new operator
C. Class.getInstance needs to have matching constructor
D. Class.getInstance creates object if class does not have any constructor
Answer» E.


Discussion

No Comment Found