Why does java doesnot support multiple inheritance?
Answer Posted / rathnakar
--> Java follows Super Class Object and Sub Class reference
at runtime to excute inherited and overridden methods.
--> Java doesnot support multiple inheritence by using
classes.becoz java compiler gets ambiguity if one method
is defined in many child classes. this happens due to
above reason
--> so execution fails . but it can be achieved using
interfaces. becoz it method over riding and every child
class is identified uniquely w.rt to interface.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How do you change an int to a string?
What is integer parseint?
What do you mean by flow of struts?
What is tcp and udp?
What is string in java is it a data type?
What exactly is methodology?
Can we override private constructor in java?
Describe the process as to how substring() methodology mechanisms in java.
What is the difference between delete and delete[]
What is meant by 'bit masking' in java?
Is array a class?
What are the differences between stringbuffer and stringbuilder?
how to deploy apache tomcat server to weblogic server in java
What is use of super keyword in java?
Explain the concept of proper inheritance?