OOP's @abstractmethod

Abstract method

how to find output for all the classes at a time. Is it possible?

@sudhakarreddy1704

Print the last two lines.