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
How does thread synchronization occurs inside a monitor?
How does a cookie work in Servlets?
What is the importance of finally block in exception handling?
Is 0 an irrational number?
What is singleton service?
What is rmi and steps involved in developing an rmi object?
Why does my function print none?
Which data type is class in java?
What is the purpose of file class?
What is the main use of java?
What is the difference between && and & in java?
Can I overload to string method
What does this () mean in java?
Why is stringbuffer not immutable?
What is ternary operator?