An abstract keyword is used to declare methods abstract methods and abstract classes.
abstract is a non-access modifier in java applicable for classes, methods but not variables.
It is used to achieve abstraction which is one of the pillar of Object Oriented Programming (OOP).
public abstract void test();Socrue:www.lautturi.com