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
What are runtime exceptions?
Can we define private and protected modifiers for variables in interfaces?
Explain the term virtual machine?
Why array is used in java?
What are the java ide’s?
what is server side caching?
What is the use of callablestatement?
Why does java have two ways to create child threads? Which way is better?
What is object data type?
What is the major difference between linkedlist and arraylist?
What are examples of modifiers?
Can we override the static method?
How is string stored in java?
Why are generics used?
What are the differences between include directive and include action?