Which of the following is a correct statement about constructors in Java?
PYQ RPSC Programmer 2024
Which of the following is a correct statement about constructors in Java?
- A.
Constructors cannot be overloaded.
- B.
A constructor can be called directly like a regular method.
- C.
A constructor does not have a return type, not even void type.
- D.
A class can have only one constructor.
- E.
Question not attempted
Attempted by 368 students.
Sign up free to check your answer
Sign up freeLoading lesson…

