Which of the following statements is FALSE?
- A class can have only default constructor
- A default constructor can only be supplied by the compiler
- A default constructor may be declared without any parameters
- All parameters of a default constructor can have default values
Answer:
Option d:All parameters of a default constructor can have default values
Explanation Here
0 Comments