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 will happen to the exception object after exception handling?
What is finalize()?
Which access specifier can be used with class ?
Why hashmap is used in java?
Why do we need singleton class?
How to create a fecelet view?
Tell me how many ways are there to initialise an integer with a constant.
explain copyonwritearraylist and when do we use copyonwritearraylist?
What does java edition mean?
Can we nested try statements in java?
How do you find the maximum number from an array without comparing and sorting?
What is Java Reflection API? Why it’s so important to have?
What do you mean by data type?
what is heap memory?
What is difference between == and === in js?