Differentiate abstract class and final class. code example
Example: Can a method be abstract and final in abstract class
No, we cannot have abstract final methods. final methods mean
- cannot be overridden.
the abstract method needs to be overridden