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

What are runtime exceptions?

602


Can we define private and protected modifiers for variables in interfaces?

574


Explain the term virtual machine?

583


Why array is used in java?

509


What are the java ide’s?

570






what is server side caching?

1599


What is the use of callablestatement?

567


Why does java have two ways to create child threads? Which way is better?

535


What is object data type?

558


What is the major difference between linkedlist and arraylist?

504


What are examples of modifiers?

502


Can we override the static method?

572


How is string stored in java?

552


Why are generics used?

518


What are the differences between include directive and include action?

535