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? - Study24x7
Social learning Network
04 Apr 2023 11:36 AM study24x7 study24x7

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?

A

Compile-time error.

B

Preprocessing error.

C

Runtime error.

D

Runtime exception.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles