×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

If we did not create any constructor in the class, then which of the following constructor is automatically added to the class?

189. If we did not create any constructor in the class, then which of the following constructor is automatically added to the class?

  1. Copy constructor
  2. Default constructor
  3. Parameterized constructor
  4. None of the above

Answer: B) Default constructor

Explanation:

If we did not create any constructor in the class, then the default constructor is automatically added to the class.

Comments and Discussions!

Load comments ↻






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