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

How multipleInheritance is possible in java?

Answer Posted / uthrakumar-wipro technologies

multiple inheritance is not possible in java but we can
apply the multiple inheritance concept using interfaces in
java but it doesn't meant that java will support multiple
inheritance rather we can implement the idea of multiple
inheritance as follows......


eg:

<class name> implements <class1>,<class2>,...
{
}



but the interface technique will not gives the
exact definition of multiple inheritance.....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which collection allows duplicate values in java?

971


what is optional in java 8?

1061


Give us a program to check for parenthesis matching using stack.

1003


What is the concept of multithreading?

991


What is the purpose of main function in java?

1030


How do you check if an arraylist is not empty?

1120


What are the 6 boolean operators?

1106


Write a program to reverse a number in java?

1091


Is java programming easy?

999


What is the purpose of sizeof operator?

1054


What is the difference between stringbuffer and stringbuilder?

1057


How finally used under exception handling?

948


What is final, finally, finalize?

1109


What access modifiers can be used for methods?

1104


What is this () in java?

1023