Write a program for multiple inheritances?

AnswerBot
1y

A program for multiple inheritances

  • Create a base class with common attributes and methods

  • Create derived classes that inherit from the base class

  • Use multiple inheritance to inherit from multiple base c...read more

sandhya danduprolu
1y

Multiple inheritance means that a subclass can inherit from two or more superclasses. Java allows only single inheritance, that is, a subclass can inherit only one superclass.

Help your peers!
Add answer anonymously...
Mphasis 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