Which is true for constructors in a class?

  1. All constructors must have the same number of parameters.

  2. All constructors must be the same parameter data type.

  3. Some constructors can have the same list of parameters.

  4. Only two constructors in a class can have the same list of parameters.

  5. No two constructors in a class can have the same list of parameters.


Correct Option: E

Find more quizzes: