What is the concept of overriding method? Give an example for the same.
Overriding Methods: It is a method to access, the parameterized constructor with the same name but having different parameters. For example,
Class emp:
definit(self, n):
self, a = n definit(self):
self, a = 100