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

How do I get 64 bit java?

1208


Explain what pure virtual function is?

1065


What kind of variables a class can consist of?

1156


Tell me about your ability to work under pressure

2246


What is the applet security manager, and what does it provide?

1045


Explain about static imports in java?

1046


What are different types of constants?

1115


How objects of a class are created if no constructor is defined in the class?

1120


Can a class extend more than one class?

1162


What is boolean data type in java?

1037


What is return data type?

1055


Which sort is best in java?

1024


Why do we create public static method in java?

1158


What is threaded programming and when is it used? : Java thread

1109


What is abstract class constructor called?

1074