Explain the abstract methods and classes.
Answers
Answered by
1
Answer:
Abstract Classes and Methods
Abstract class: is a restricted class that cannot be used to create objects (to access it, it must be inherited from another class). Abstract method: can only be used in an abstract class, and it does not have a body. The body is provided by the subclass
Explanation:
Please Mark me as brainlist
Answered by
0
An abstract method is a method that is declared without an implementation (without braces, and followed by a semicolon)
Similar questions