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

because it genereate diamond problem. e.g. Class A has
Show()Method and Class B,C extends in A class so show() will
come in B,C class.now Class D extends C class and access
show() method then it will generate Error such as multiple
Defination.

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 difference between double and float variables in java?

1086


What is the difference between path and classpath variables?

968


What is a java predicate?

917


Which arithmetic operations can result in the throwing of an arithmeticexception?

972


What is character in data type?

922


Explain java coding standards for classes or java coding conventions for classes?

1062


What are the types of relation?

995


What is a text string?

1038


What does it mean that a class or member is final?

941


Can java inner class be static?

976


What are the restrictions that are applied to the java static methods?

931


List some oops concepts in java?

984


Can we sort array in java?

892


what is heap memory?

1039


What is the difference between a method and a function in alice?

1094