Describe what an Interface is and how it’s different from a Class. When would you want to use an abstract class and interface? 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