Which of the following is true regarding a constructor in Object Oriented Programming?

Which of the following is true regarding a constructor in Object Oriented Programming?

  1. a) May consist of a return type
  2. b) Does not consist of any return type
  3. c) Has some return type
  4. d) None of the above

From the NPCBL Executive Trainee (CSE) 2023 – Preliminary exam, question 25 of 39.

More from this paper