Ask & Answer: India's Largest Education Community
1000+ExpertsQuick ResponsesReliable Answers
All Discussions
New Discussion
2012-10-06 20:58:50
0 Follower
238 Views
Abhilash Jyoti BoruahTechnical Consultant in Shaildhar Telecom Services
Contributor-Level 6
Java does not support multiple inheritances to avoid ambiguity problem and complexity of multiple inheritance.
Two classes class 2 and class 3 inherit from class 1. Class 4 inherits from both class 2 and class 3. When a method in class 4 invokes a method that is defined in class 1, and class 2 and class 3 have overridden that method in different way, the ambiguity and complexity occurs – through which class does it inherits: class 2 or class 3?
Like wise if it is encouraged to have more than two classes to inherit, the ambiguity raises which leads to future conflict of applications.
Two classes class 2 and class 3 inherit from class 1. Class 4 inherits from both class 2 and class 3. When a method in class 4 invokes a method that is defined in class 1, and class 2 and class 3 have overridden that method in different way, the ambiguity and complexity occurs – through which class does it inherits: class 2 or class 3?
Like wise if it is encouraged to have more than two classes to inherit, the ambiguity raises which leads to future conflict of applications.
New Discussion
2012-10-06 15:40:52
0 Follower
627 Views
C
Chandeshwar Prasad
Beginner-Level 1
Hi Aru, i have completed graduation (B.com) from EIILM university. kindly suggest me to take further step for a professional degree.
New Discussion
2012-10-06 14:48:55
0 Follower
287 Views
Abhilash Jyoti BoruahTechnical Consultant in Shaildhar Telecom Services
Contributor-Level 6
obviously, PCM are very much important. Every college demands 50% aggregate marks in PCM for applying B.E in any field.
Register to get relevant
Questions & Discussions on your feed
Ask & Answer
Panel of Experts
