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
If a method is declared as protected, where may the method be accessed?
Is finalize() similar to a destructor?
Implement two stacks using a single array.
How to sort elements in a parallel array in java?
how to split string in java?
What all access modifiers are allowed for top class ?
Can constructor return value?
What are the rules for variable declaration?
How many types of flags are there?
Can list contain null in java?
What is the difference between @before and @beforeclass annotation?
What is compareto?
Why stringbuilder is not thread safe in java?
what is the final keyword denotes in java?
Does sprintf add a null terminator?