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?

Answers were Sorted based on User's Feedback



why java does not support mulitple inheritance directly?..

Answer / kranthi kumar adari.

Java doesnot support multiple inheritance bcoz it leads to
ambiguity when two base classes are having same function
signature.

Is This Answer Correct ?    9 Yes 0 No

why java does not support mulitple inheritance directly?..

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

why java does not support mulitple inheritance directly?..

Answer / ravikiran

Because we cann't extend more than one class at once

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More Core Java Interview Questions

What is the difference between serial and throughput garbage collector?

0 Answers  


how copy the hashmap object into arraylist at java program?

4 Answers   HCL, Wipro,


What is the difference between conversation & casting?

0 Answers  


How to do validation of the fields in any project ?

2 Answers  


When should a function throw an exception?

0 Answers   Thomson Reuters, Virtusa,


What is update method called?

0 Answers  


What are the different ways of creating thread?

0 Answers  


Explain list interface?

0 Answers  


How do you implement tree mirroring in java?

0 Answers   EXL, HCL,


Explain the selection sort algorithm and state its time complexity?

0 Answers   Flextronics,


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

0 Answers  


What is the purpose of the enableevents() method?

0 Answers  


Categories