Abstract method : An unimplemented method is an abstract method. When an abstract method is declared in a base class, the driven class has to either define the method or raise” Nothlmplemented Error”
class Shape (object):
def findArea (self):
pass
class Square ( Shape):
def init(self, side):
self, side = side
def find Area (self):
return self.side*self.side
Note: We can use @ abstract method to enable parent class method to be ****.