why java does not support multiple inheritance
Answer Posted / velmurugan.p
basically java does not support multiple inheritance because
java extend only one class so we use interface in multiple
inheritance to define more than one class to avoid ambiguity.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is null in java?
What methodology can be utilized to link to a database?
What is output buffer?
Define nashorn in java8.
Difference between vector and arraylist.
Difference between static synchronization vs. Instance synchronization?
Why we override equals() method?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What are the topics in core java?
What is the purpose of the return statement?
What are the two environment variables that must be set in order to run any java programs?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
What is difference between jdk,jre and jvm?
Can java inner class be static?
Which is better arraylist or vector?