मराठी

A constructor is likely to be defined after the class declaration. - Computer Applications

Advertisements
Advertisements

प्रश्न

A constructor is likely to be defined after the class declaration. 

पर्याय

  • True

  • False

MCQ
चूक किंवा बरोबर

उत्तर

This statement is True.

Explanation:

In Java, a constructor is declared within the class following the declaration. It is part of the class body and is usually defined before or alongside other member functions and variables. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Constructors - EXERCISES [पृष्ठ ४१८]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×