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

Why does abstract class have constructor?

753


What are the disadvantages of using inner classes?

753


How do you compare two strings lexicographically?

723


What does escaping a character mean?

719


What is the technique adopted to create an immutable class?

760


Difference between ‘>>’ and ‘>>>’ operators in java?

867


What’s the difference between callable and runnable?

745


How do you calculate square roots?

834


What are Normalization Rules? Define Normalization?

750


What is parseint?

721


What are the different collection views provided by maps?

758


Is it possible to override private or static method in java?

737


Which api is provided by java for operations on set of objects?

1181


How destructors are defined in java?

882


Can a boolean be null java?

732