Is java supports multiple inheritance? explain?

Answer Posted / vivek dubey

NO java supports Multilevel Inheritance and
not the Multiple Inheritance

Multilevel Inheritance

class A{
}

class B extends A{
}

class c extends B{
}


Multiple Inheritance

class c extends A,B{ // nOt supported
}

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does thread synchronization occurs inside a monitor?

646


How does a cookie work in Servlets?

460


What is the importance of finally block in exception handling?

653


Is 0 an irrational number?

693


What is singleton service?

592






What is rmi and steps involved in developing an rmi object?

672


Why does my function print none?

613


Which data type is class in java?

642


What is the purpose of file class?

649


What is the main use of java?

670


What is the difference between && and & in java?

672


Can I overload to string method

1056


What does this () mean in java?

643


Why is stringbuffer not immutable?

662


What is ternary operator?

648