How to declare abstract class and abstract methods in java
USING ABSTRACT CLASSES
A class which can not be instantiated is known as abstract class.If a class contain any abstract method then the class is declared as abstract method.It must be overridden. An abstract class must be extended and in a same way abstract method must be overridden.Abstract method has no body,it always end the declaration with a semicolon(;).