+1 vote
in Class 12 by kratos

What is the concept of overriding method? Give an example for the same.

1 Answer

+2 votes
by kratos
 
Best answer

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

...