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
Does java set allow duplicates?
Can we override private constructor in java?
Can singleton class be inherited in java?
What is static method with example?
What is qualitative variable?
Difference between comparator and comparable in java?
What do you understand by overloading and overriding in java?
What is the byte order of byte buffer?
What is java and their uses?
What does nullpointerexception mean?
What are different types of classloaders?
Do I need to import java.lang package any time? Why?
What are constants and how to create constants in java?
Is cout buffered?
How to provide security in java