when do i want to use abstract methods code example Example: is it necessary for abstract class to have abstract method No, abstract class can have zero abstract methods.