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
Explain the difference between transient and volatile in java?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
Do I need to import java.lang package any time? Why?
What is immutable in java?
What are static methods?
Which is better singleton or static class?
What is the purpose of default constructor?
How do you sing an Applet ?
Will set allow duplicates in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is difference between static and final?
Explain about interthread communication and how it takes place in java?
Is namespace same as package in java?
How the metacharacters are different from the ordinary characters?
How do you add an element to a set in java?