Sail E0 Webinar
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?


Options:
A .  Compile-time error.
B .  Preprocessing error.
C .  Runtime error.
D .  Runtime exception.
Answer: Option A



Submit Your Solution Below and Earn Points !

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers