Which statement is true regarding the creation of default constructor?
Options
- The default constructor initializes local variables.
- The default constructor initializes the instance variables declared in the class.
- The default constructor invokes the constructor of the superclass.
- When class has only constructor with parameter, the compiler creates a Default constructor
CORRECT ANSWER : The default constructor initializes the instance variables declared in the class.
Write your comments