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


Please Help Members By Posting Answers For Below Questions

Difference between default and protected access specifiers?

512


How to sort elements in a parallel array in java?

508


why we use merge option in hybernate pls give a ex snippet

1466


How do you create a null object?

518


Difference between serialization and deserialization in java?

656






How do you sort in java?

606


Which is easier .net or java?

654


What is constructor chaining and how is it achieved in java?

578


What is application system?

509


What are different types of references?

537


What is public/private protected in java?

548


I don’t want my class to be inherited by any other class. What should I do?

585


How many bytes is double?

553


What is the this keyword?

560


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1989