1

What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?

Correct Answer: compile-time error

Make the most of this question

This page focuses on one Object Oriented Programming (OOP) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Object Oriented Programming (OOP) MCQ: What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor? | Extra Education