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 does java doesnot support multiple inheritance?

Answer Posted / rathnakar

--> Java follows Super Class Object and Sub Class reference
at runtime to excute inherited and overridden methods.

--> Java doesnot support multiple inheritence by using
classes.becoz java compiler gets ambiguity if one method
is defined in many child classes. this happens due to
above reason

--> so execution fails . but it can be achieved using
interfaces. becoz it method over riding and every child
class is identified uniquely w.rt to interface.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you change an int to a string?

947


What is integer parseint?

930


What do you mean by flow of struts?

1224


What is tcp and udp?

951


What is string in java is it a data type?

949


What exactly is methodology?

860


Can we override private constructor in java?

911


Describe the process as to how substring() methodology mechanisms in java.

1044


What is the difference between delete and delete[]

1406


What is meant by 'bit masking' in java?

1110


Is array a class?

881


What are the differences between stringbuffer and stringbuilder?

997


how to deploy apache tomcat server to weblogic server in java

2033


What is use of super keyword in java?

972


Explain the concept of proper inheritance?

1011