Which of the following statement(s) is/are correct? Tick all correct answer(s). No partial marks and no negative marks.
Select one or more:
If a class lacks a no-arg constructor, the compiler always creates a default constructor.
The compiler creates a default constructor only when there are no other constructors for the class.
The default constructor has the same access as its class.
The default constructor initialises method variables.
The default constructor invokes the no-arg constructor of the superclass.
Answers
Answered by
3
========={}======================>
Similar questions
Math,
1 day ago
Science,
3 days ago
English,
3 days ago
Social Sciences,
8 months ago
Environmental Sciences,
8 months ago
English,
8 months ago