The compiler creates a default constructor only when there are no other constructors for the class.
A.1, 2 and 4
B.2, 3 and 5
C.3, 4 and 5
D.1, 2 and 3
Answer:B
The compiler creates a default constructor only when there are no other constructors for the class.
A.1, 2 and 4 B.2, 3 and 5 C.3, 4 and 5 D.1, 2 and 3