Omitting the self parqmeter

Why are we omitting the self parameter when we are using the super.init(name, age): instead of using SchoolMember.init(self, name, age): function…timestamp reference : 5 : 49 min.

okk I got it…thanx… It was cleared in the later portion of the lecture…Please can you cross verify what I am saying…so super().init(name, age) what it does: super() <- it returns the SchoolMember object which is present in the Teacher class itself…as the Teacher class is inheritated from the SchoolMember class…and then we are calling the init(name, age) method on that particular object with arguments name and age…Please say me whether I am right or wrong???

yes you are thinking in the correct way. go ahead.

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.