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

When is finally block not called?

1095


What are heterogeneous objects?

1053


What is the default access specifier for variables and methods of a class?

1207


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

1118


Difference between Preemptive scheduling vs. Time slicing?

1026


If try block is successfully executed, Then Is Finally block executed?

1088


How will you print number in reverse (descending) order in BST.

989


Tell me about different OOPS concepts.

1011


What is a protected class in java?

1001


explain the difference between jdk and jvm?

1002


Why java is secure? Explain.

1049


What is string and example?

1048


What is a for loop in java?

1053


what is the difference between the methods sleep() and wait()? : Java thread

979


What is type inference in java8?

1055