What is true about Class.getInstance()?
Answer: D . Class.getInstance creates object if class does not have any constructor
Class.getInstance calls the constructor
Class.getInstance is same as new operator
Class.getInstance needs to have matching constructor
Class.getInstance creates object if class does not have any constructor
If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here
we’ll review your comment and contact you soon….