0

An abstract class can only have abstract methods ?

methods concrets ? atributs ?

10th Jan 2020, 11:59 PM
Alex Jose Silva
Alex Jose Silva - avatar
1 Answer
+ 5
Abstract classes can have an abstract method or it might not at all have an abstract method and can still be declared as an abstract class. But if there is an abstract method then it is compulsory to declare the class abstract.
11th Jan 2020, 1:58 AM
Avinesh
Avinesh - avatar