can we have abstract class without abstract method code example
Example 1: is it necessary for abstract class to have abstract method
No, abstract class can have zero abstract methods.
Example 2: can you declare an abstract method in a non abstract class
No. A normal class(non-abstract class) cannot have abstract methods.
Example 3: Is it mandatory for an abstract class to have abstract methods?
No, abstract class can have zero abstract methods.