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 Enum in Java?
Difference between Linked list and Queue?
What is static data type in java?
In java, how we can disallow serialization of variables?
How can the checkbox class be used to create a radio button?
What is a JAR file?
How many bytes is string in java?
What is the difference between compare and compareto in java?
What is sortedmap interface?
Can a main method be declared final?
How do you check if a number is a perfect square?
What is the this keyword?
What is the base class for error and exception?
Explain the difference between collection api and stream api in java8?
What is local declaration?