why would you use an abstract class over an 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