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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly