What is the need for an interface in java when we have abstract classes available? Can interfaces be instantiated? Give an 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