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
how to write a server program and sending the mails to the server using smtp protocol please help me
When does a class need a virtual destructor?
Explain about anonymous inner classes in java?
How the metacharacters are different from the ordinary characters?
What is byte data type?
What is comparator in java?
What is javac_g?
Can we compare two strings in java?
How to convert string to byte array and vice versa?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is procedure overloading?
Describe what a thread-local variable is in java?
What is java jit compilers?
How many bytes is double?
What is the difference between abstract class and interface1? What is an interface?