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 known as interface to
support the concept of multiple inheritance.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a program to print all permutations of string?
Can interface be private in java?
Write a program to print fibonacci series up to count 10.
What is the difference between @before and @beforeclass annotation?
What is array class in java?
What is jpa specification?
Is int primitive data type?
What is incompatible types in java?
How can we avoid including a header more than once?
What is string pool in java?
What is hashing principle in java?
What are the types of inner classes (non-static nested class) used in java?
Write a java program to check if a number is prime or not?
What does sprintf return?
What is boolean logic?