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
Difference between default and protected access specifiers?
How to sort elements in a parallel array in java?
why we use merge option in hybernate pls give a ex snippet
How do you create a null object?
Difference between serialization and deserialization in java?
How do you sort in java?
Which is easier .net or java?
What is constructor chaining and how is it achieved in java?
What is application system?
What are different types of references?
What is public/private protected in java?
I don’t want my class to be inherited by any other class. What should I do?
How many bytes is double?
What is the this keyword?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?