Question OOP-CTOR-0074
HardWhat is a Java instance initialiser block?
- A.
A { … } block in a class body that runs before every constructor's body
- B.
A static method
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Constructors and Destructors question
What is a Java instance initialiser block?
A { … } block in a class body that runs before every constructor's body
A static method
Sign up free to see the answer and a step-by-step explanation.
A constructor with no name
A destructor