Class constructors correct statements - Java Quiz Question


Which of the following statement(s) is/are true?

X: Multiple constructors can be defined in a class.
Y: Every class has a default constructor, even if only parameterized constructors are defined.


A
X only
B
Y only
C
X and Y
D
Both are false