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 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


Please Help Members By Posting Answers For Below Questions

Explain the concept of proper inheritance?

1107


What is the mapping mechanism used by java to identify IDL language?

1048


When does a class need a virtual destructor?

1066


In the below example, what will be the output?

1082


What are multiple inheritances? Is it supported by java?

1005


How to reverse string in java?

1267


How do you remove duplicates in java?

1071


What is subsequence of a string?

1151


What is the purpose of assert keyword used in jdk1.4.x?

1124


How do you sort a string in java?

1020


Should database connections be singleton?

1015


What if constructor is protected in java?

1195


Can private class be inherited in java?

1086


Explain the difference between a Thread and a Process.

1048


Can we inherit inner class?

1075