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

Is java type safe?

915


What do you mean by multithreaded program?

961


What are some alternatives to inheritance?

1044


What is java util function?

994


What is the super void?

841


What is the difference between member variables initialization and assignment in a constructor?

1174


What is the purpose of garbage collection in java?

1043


describe method overloading

956


What is a treemap in java?

953


What is meant by distributed application? Why are we using that in our application?

909


What is size () in java?

1035


Explain where variables are created in memory?

962


What do you understand by an io stream?

982


Is double bigger than float?

912


What is floor in java?

988