Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Which of the following is NOT a correct statement about constructors in Java?
Each subclass constructor must implicitly or explicitly call its superclass constructor to initialize the instance variables inherited from the superclass.
Superclass constructor call syntax is the keyword super, followed by a set of parentheses containing the superclass constructor arguments.
The first task of a subclass constructor is to call its direct superclass's constructor explicitly or implicitly.
If the code does not include an explicit call to the superclass constructor, Java will not call the superclass's default or no-argument constructor.
A class's default constructor calls the superclass's default or no-argument constructor.
In general, constructors are not inherited.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!