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

Does java set allow duplicates?

758


Can we override private constructor in java?

709


Can singleton class be inherited in java?

728


What is static method with example?

856


What is qualitative variable?

722


Difference between comparator and comparable in java?

842


What do you understand by overloading and overriding in java?

753


What is the byte order of byte buffer?

771


What is java and their uses?

747


What does nullpointerexception mean?

845


What are different types of classloaders?

772


Do I need to import java.lang package any time? Why?

1031


What are constants and how to create constants in java?

733


Is cout buffered?

875


How to provide security in java

1999