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 is anonymous class in java?

1035


How many functional interfaces does java 8 have?

1029


What is assembly condition codes?

991


Is hashset sorted in java?

1186


Can a class have multiple constructors?

1060


What is the use of default method in interface in java?

1010


How do you include a string in java?

995


explain the concept of virtual method invocation in polymorphism in detail?

2223


What are three advantages of using functions?

1011


What is natural ordering in java?

961


How many types of design patterns are there?

1103


Is namespace same as package in java?

985


How to use string tokenizer class.

1209


What is the advantage of preparedstatement over statement?

1110


Explain listiterator and methods in listiterator?

1022