Can you call the base class method without creating an instance?

AnswerBot
2y

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...

Tech Mahindra Associate Software Engineer interview questions & answers

An Associate Software Engineer was asked 4d agoQ. Write a query to find the second-highest salaried employee.
An Associate Software Engineer was asked 1mo agoQ. Explain the key concepts of DBMS.
An Associate Software Engineer was asked 5mo agoQ. Why do you prefer Java?

Popular interview questions of Associate Software Engineer

An Associate Software Engineer was asked 1mo agoQ1. Explain the key concepts of DBMS.
An Associate Software Engineer was asked 5mo agoQ2. Why do you prefer Java?
An Associate Software Engineer was asked 5mo agoQ3. What are the core concepts of OOP?

Top HR questions asked in Tech Mahindra Associate Software Engineer

An Associate Software Engineer was asked 5mo agoQ1. How do you tackle problems you face?
An Associate Software Engineer was asked 6mo agoQ2. Have you held any leadership positions in the past?
An Associate Software Engineer was asked 7mo agoQ3. Where do you see yourself in the next 10 years?
Tech Mahindra Associate Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
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

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter