How many parameters can be accepted by a default constructor?

186. How many parameters can be accepted by a default constructor?

  1. 1
  2. 2
  3. 0
  4. Infinite

Answer: C) 0

Explanation:

A default constructor accepts 0 parameters.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.