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


Please Help Members By Posting Answers For Below Questions

Can we extend singleton class?

709


What are the different data types in java?

733


Which is a valid identifier?

754


What is substring in java?

811


Why is java logo a cup of coffee?

814


Does java support function overloading, pointers, structures, unions or linked lists?

809


What is the primitive type byte?

760


Can we use a switch statement with strings?

756


What is a string token?

715


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

730


Differentiate between static and non-static methods in java.

787


What is double word?

738


Explain the available thread states in a high-level?

720


Which is the best sorting technique in java?

730


What is time complexity algorithm?

779