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
What is a boolean flag in java?
Can we call the run() method instead of start()?
How do I write a self declaration?
Explain the difference between static and dynamic binding in java?
Explain about field hiding in java?
Which language is java?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Differentiate between a class and an object.
What is the method to expand and collapse nodes in a jtree?
What is the difference between size and length in java?
Can a serialized object be transferred via network?
What does nextint () do in java?
What is an iterator interface in java programming?
What is better - 'bit-shift a value' or 'multiply by 2'?