Introduction Flashcards
1
Q
Define an abstract class and an abstract method !
A
An abstract class is a class that is defined with the abstract keyword and that can not be instantiated
An abstract method is a method that doesn’t have a body, is declared with the abstract keyword, and can only be declared in an interface or an abstract class