2) Can you call the base class method without creating an instance?
AnswerBot
1y
Yes, by using the super() method in the derived class.
super() method calls the base class method
Derived class must inherit from the base class
Example: class Derived(Base): def method(self): super().me...read more
Mostafa Ebrahiem
2y
Yes if it was a Static method(s), which are associated with the class in which they reside i.e. they are called without creating an instance of the class i.e ClassName. methodName(args)
Anonymous
2y
Ya ok iam interested to join to interview
Add answer anonymously...
Top Tech Mahindra Associate Software Engineer interview questions & answers
Popular interview questions of Associate Software Engineer
Top HR questions asked in Tech Mahindra Associate Software Engineer
>
Tech Mahindra Associate Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app