is a module abstract java code example
Example 1: What are abstract methods in java
An abstract method is the method which does’nt have any body.
Abstract method is declared with
keyword abstract and semicolon in place of method body.
public abstract void ();
Ex : public abstract void getDetails();
It is the responsibility of subclass to provide implementation to
abstract method defined in abstract class
Example 2: can abstract class have implementation java
abstract classes have no implementation of functions methods inside it which declared as abstract methods. classes which are inheriting it have to overriden it. and final absract class can not be overriden