why is multiple inheritance not allowed in java?
Answer Posted / mahesh yadav ch
when ever a class extending more then one class. if f1()
method is present all exteding ... when we call f1()
method...jvm will confused which class method is called this
lead to ambuity error.....
java does'nt support multiple inheritance.......
Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
What is stream api in java8?
Is null keyword in java?
What is difference between static and final?
What is difference between c++ and java ?
What are recursive functions? Give some examples?
What do you mean by stream pipelining in java 8?
What are the differences between this and super keyword?
Which method returns the length of a string?
What is multiple inheritance? Is it supported by java?
Which non-unicode letter characters may be used as the first character of an identifier?
What does system out println () do?
Why hashcode is used in java?
Can we use a switch statement with strings?
What is java and why do we need it? Explain
What is type parameter in java?