Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Can an abstract method be defined in a non-abstract class?
No – if a class defines an abstract method, the class itself must be abstract.
Yes – there are no restrictions where abstract methods can be defined.
Yes, a method can be declared abstract in any superclass, as long as it also declares the subclasses to be abstract.
No – only classes are abstract, not methods.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!