OpenMRS
Can we do multiple inheritance in Java?
This task is about inheritance in Object-oriented software development. You are expected to write a document about this question.
Statement
In Java, we can do multiple inheritances among interfaces. But still, we can't do the multiple inheritances among the classes.
Question
- Do you agree above statement?
- If agree, Why we can't do the multiple inheritances in Java among the classes?
- Briefly explain your ideas and thoughts with suitable examples. You can use Vehicle, Car, Two wheelers, Lorry as the classes to show the examples. You can add any methods, features to those classes to answer this questions.
If not agree, provide your answer against that statement
You must mention the references or resources at the last which you used for this task.
Submission steps
You are expected to submit a PDF document or shared Google Doc for the submissions
Task tags
Students who completed this task
akshi04, IZKA, mihir0409, Rutvik patel, Aria, rpan11, aranyoray, Vishnu S, Aditya_Harsh, Aryu, Fungucide, AryanTodi, Sambhav, ajailani4, symt, Khairul Amirin(), Esha_2003, U DEVAKI, ArchitHax, katelawyer