Why does java doesnot support multiple inheritance?

Answer Posted / balu

multiple inheritance is not available in java for the following reasons
1.it leads to confusion for a java program
2.the programmer can achieve multiple inheritance by using interfaces
3.and also we can achieve it by repeatdly using single inheritance.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

2982


what is ststic with example

1800


How many types of assembly languages are there?

731


How do you compare two strings lexicographically?

733


Where is stringbuffer stored?

759


How do you find the maximum number from an array without comparing and sorting?

873


What is t type java?

821


What is an argument java?

723


Is the milky way in a void?

757


Where and how can you use a private constructor?

759


What are the special characters?

741


What is yield () in java?

673


How many types of interfaces are there?

778


How many types of variables are there?

892


Why object class is super class for every class in java?

804