Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why java does not support multiple inheritance

Answer Posted / neeraj kumar singh

in multiple inheritance there are a number of base class so
when ever we use super keyword to call any method then
compiler do not recognize the base class form which property
and method have to use.since there is only one way to call
base class method and property which is super keyword. so
because of super keyword, java do not support multiple
inheritance but it is possible with help of interface.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum size of arraylist in java?

953


What do you mean by local variable and instance variable?

908


What is set in java?

989


If an object is garbage collected, can it become reachable again?

954


Is null in java?

956


What is the difference between reader/writer and inputstream/output stream?

1034


Is array a class in java?

933


What’s the difference between callable and runnable?

1032


What are different access specifiers in java?

956


Write a function to print Fibonacci series and Tribonacci series?

1136


Can a class be private?

920


What are static methods?

1000


What is keyword auto for?

1116


What is the difference between post and put?

1001


what is bmg file and how to create that files?what will it contailn?

2305