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

Java does not support multiple inheritance.
how interface helps in the same?

Answer Posted / sachin ghare

It might be possible. Inherited both classes contain same method. And java by defualt polymorpic so at the time of compilation it will generate error.that's why. Interface contain astract methods so it Will manage stuff

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the difference between constructors and other methods?

974


What is the super void?

887


What is difference between final and finally in java?

1064


Explain importance of throws keyword in java?

962


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

1077


What are the types of web technologies?

1029


Difference between overriding and overloading in java?

1046


What is difference between path and classpath in java?

996


What is incompatible types in java?

1015


Convert Binary tree to linked list.

1061


What access modifiers can be used for methods?

1084


Does java set allow duplicates?

1059


Explain what do you mean by functional overloading in java?

991


What is the significance of java packages?

1094


what is function overloading in java?

1262