Start learning →

Match default traits: 1. Supply: p. Compiler 2. Body: q. Empty run 3. Arg: r. Zero param

A1-p, 2-q, 3-r
B1-p, 2-r, 3-q
C1-q, 2-p, 3-r
D1-r, 2-p, 3-q
Answer & Solution
Correct answer: A. 1-p, 2-q, 3-r
The compiler automatically generates a no-argument default constructor if no explicit constructor is provided.
Practise this question with Quill — ICSE Class 10 →

Keep practising User-Defined Methods and Constructors

Browse all User-Defined Methods and Constructors questions for ICSE Class 10, or explore more Computer Applications topics.

Start a User-Defined Methods and Constructors lesson →