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 is heap memory?
What is mutable object and immutable object?
What are the advantages of passing this into a method instead of the current class object itself?
What is a line break example?
What is string data?
Is an empty arraylist null?
Can you call a method in a method?
Is java util list serializable?
Why java doesn’t support multiple inheritances?
What is a platform?
What does || mean in vectors?
What is final?
If you are given the name of the function at run time how will you invoke the function?
Which number is denoted by leading zero in java?
Is string thread safe in java?