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
What is exception in java?
Can I learn java in 3 months?
What is final?
What is a protected method?
Is java still relevant?
How to do encapsulation in java?
State the main difference between c++ and java?
Is java util regex pattern thread safe?
What are the benefits of immutable objects?
Explain the overview of UDP messaging.
How do you square a number?
What is hasnext in java?
java program with complete 4 oops concepts implemented example
What is the function of log?
What are static blocks in java ?