Given: Which class has a default constructor?
A.
X only
B.
Y only
C.
Z only
D.
X and Y
E.
Y and Z
F.
X and Z
G.
X, Y and Z
Given: Which class has a default constructor?
A.
X only
B.
Y only
C.
Z only
D.
X and Y
E.
Y and Z
F.
X and Z
G.
X, Y and Z
X and Z
A. X only
Answer: A
Explanation:
A default constructor is assigned when a custom constructor is not provided.