Which of the following statements with reference to constructors in Object…
PYQ DSSSB 2022
Which of the following statements with reference to constructors in Object Oriented Programming is FALSE?
- A.
Constructors return a value.
- B.
Constructor is a special function that helps you instantiate an object of a class.
- C.
Whenever you instantiate an object, a default constructor method is called.
- D.
Default constructors do not take any parameters.
Attempted by 670 students.
Sign up free to check your answer
Sign up freeLoading lesson…

