हिंदी

Every class must have all types of constructors. - Computer Applications

Advertisements
Advertisements

प्रश्न

Every class must have all types of constructors.

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

This statement is False.

Explanation:

  1. A class in Java does not necessarily have all types of constructors.
  2. If no constructor is expressly stated, Java will give a default constructor.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Constructors - EXERCISES [पृष्ठ ४१८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 7 Constructors
EXERCISES | Q III. 3. | पृष्ठ ४१८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×