What happens when a class with parameterized constructors


Question: 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?

Option 1: Compile-time error.

Option 2: Preprocessing error.

Option 3: Runtime error.

Option 4: Runtime exception.

This one is complex and I don't know how to answer it

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What happens when a class with parameterized constructors
Reference No:- TGS0954850

Expected delivery within 24 Hours