Uses of Abstract Classes:-
Java Abstract class can implement interfaces without even providing
the implementation of interface methods. Java Abstract class is used to provide
common method implementation to all the subclasses or to provide default
implementation. We can run abstract class in java like any other class if it
has main() method.