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
What is true about Class.getInstance()?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is true about Class.getInstance()?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!