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 is java not 100% pure oops?
what is the purpose of using rmisecuritymanager in rmi?
Can a class with private constructor be extended?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is compiler and what its output.
What is the difference between the file and randomaccessfile classes?
Why is it called a string?
What is a wrapper method?
Why java strings are immutable in nature?
Define class?
What is meant by oops concept in java?
What happens if a constructor is declared private?
What is formatted output?
Where are the card layouts used?
What is the purpose of the strictfp keyword?