

MCQOPTIONS
Saved Bookmarks
1. |
What is true about private constructor? |
A. | Private constructor ensures only one instance of a class exist at any point of time |
B. | Private constructor ensures multiple instances of a class exist at any point of time |
C. | Private constructor eases the instantiation of a class |
D. | Private constructor allows creating objects in other classes |
Answer» B. Private constructor ensures multiple instances of a class exist at any point of time | |