What is multiple inheritance & can we implement it in java?
Answer Posted / arnab
When a particular class has properties of more than one
class it is called multiple inheritance.
Since c++ like implementation of multiple inheritance programs
is difficult, and adds complexity to the language, java
provides an alternative approach to support the concept of
multiple inheritance.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain the importance of throws keyword in java?
Can each java object keep track of all the threads that want to exclusively access it?
How does the garbage collector works in java?
What is a classloader in java?
What is getkey () in java?
Why is singleton class used?
Difference between keyword and identifier.
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
Can we write method inside a method in java?
Can a variable be local and static at the same time?
Can java list be null?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
worst case complexities of Quick sort and Merge sort.
Is there any difference between nested classes and inner classes?