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

What is exception in java?

563


Can I learn java in 3 months?

533


What is final?

599


What is a protected method?

591


Is java still relevant?

494






How to do encapsulation in java?

566


State the main difference between c++ and java?

586


Is java util regex pattern thread safe?

510


What are the benefits of immutable objects?

532


Explain the overview of UDP messaging.

725


How do you square a number?

574


What is hasnext in java?

574


java program with complete 4 oops concepts implemented example

2726


What is the function of log?

537


What are static blocks in java ?

603