can we declare abstract class if it has no abstract method code example
Example: Is it mandatory for an abstract class to have abstract methods?
No, abstract class can have zero abstract methods.
No, abstract class can have zero abstract methods.