What is Abstract Method in Java ?
An abstract method is a method that is declared without an implementation (without braces, and followed by a semicolon), like this:
abstract void myMethod();
In order to use an abstract method, you need to override that method in sub class.
1 Like