are interface only implemented by abstract class java code example
Example: abstract classes and interfaces in java
abstract class have no implementation of methods functions inside it. the classes which extending abstract class have to implement it