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
Which collection allows duplicate values in java?
what is optional in java 8?
Give us a program to check for parenthesis matching using stack.
What is the concept of multithreading?
What is the purpose of main function in java?
How do you check if an arraylist is not empty?
What are the 6 boolean operators?
Write a program to reverse a number in java?
Is java programming easy?
What is the purpose of sizeof operator?
What is the difference between stringbuffer and stringbuilder?
How finally used under exception handling?
What is final, finally, finalize?
What access modifiers can be used for methods?
What is this () in java?