Q. 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? (Solved)
1. compile-time error
2. preprocessing error
3. runtime error
4. runtime exception
- a. compile-time error