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 mulitple inheritance directly?

Answer Posted / sumit pal singh

java Doesn't Support multiple inheritance.when two super classes have same variable name and same method name .then subclass confused from which class variable and method will be executed.due to this ambiguity is produced and java is a simple programming language not produce any confusion to developer.so multiple inheritance is restricted in java.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State differences between C and Java?

1211


Can we use catch statement for checked exceptions?

965


Where is the find and replace?

1005


What is the purpose of the runtime class in java programming?

1060


What is a byte string?

1098


What do you understand by access specifiers in Java?

1014


Is string thread safe in java?

1091


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

1013


What is console based application in java?

1041


Explain about abstract classes in java?

1034


What do you understand by Header linked List?

1103


What is scanner in java?

955


What are benefits of java?

1050


What is method overloading with type promotion?

1273


What is sorting in java?

987