Is java supports multiple inheritance? explain?
Answer Posted / praveenkumar
yes java supports multiple inheritance but not directly.
By implementing single inheritance we can acheive multiple
inheritance.See for example
class A{
some method();
}
class B extends A
{
}
class C extends B
{
}
like tht we can acheive multiple inheritance.
Is This Answer Correct ? | 3 Yes | 18 No |
Post New Answer View All Answers
Why does abstract class have constructor?
What are the disadvantages of using inner classes?
How do you compare two strings lexicographically?
What does escaping a character mean?
What is the technique adopted to create an immutable class?
Difference between ‘>>’ and ‘>>>’ operators in java?
What’s the difference between callable and runnable?
How do you calculate square roots?
What are Normalization Rules? Define Normalization?
What is parseint?
What are the different collection views provided by maps?
Is it possible to override private or static method in java?
Which api is provided by java for operations on set of objects?
How destructors are defined in java?
Can a boolean be null java?