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

Can we create constructor in abstract class ?

1046


What is singletonlist in java?

961


What methodology can be employed to locate substrings inside a string?

957


What is the Scope of Static Variable?

1225


What are pass by reference and pass by value?

986


Can abstract class have private constructor?

936


what is the major difference between linkedlist and arraylist in java?

1203


What is the mapping mechanism used by java to identify IDL language?

1004


What is the difference between heap and stack memory?

1190


Is string passed by reference in java?

995


What are the four versions of java?

1009


What are access specifiers available in java?

1000


How do you use nextline in java?

952


What environment variables are required to be set on a machine in order to run Java programs?

1187


What do heavy weight components mean in java programming?

945