Advertisements
Advertisements
प्रश्न
Every class must have all types of constructors.
विकल्प
True
False
MCQ
सत्य या असत्य
उत्तर
This statement is False.
Explanation:
- A class in Java does not necessarily have all types of constructors.
- If no constructor is expressly stated, Java will give a default constructor.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?