Is java supports multiple inheritance? explain?
Answer Posted / kash
Two types of inheritance in Java:
Class inheritance : A sub class can have only one base class ( Single inheritance). Although the sub class can itself be a base class to another sub class ( Multi level inheritance).
Interface inheritance: interface allows multiple classes to implement abstract methods defined on it ( so supports multiple inheritance)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are invisible components?.
What do you understand by the term string pool?
What is a pattern what is an anti pattern?
What is lambda expression in java?
What is return keyword in java?
What is the SimpleTimeZone class?
Explain access specifiers?
What is the synchronized method modifier?
How do you start a thread?
Why does java not support pointers?
What about anonymous inner classes in java?
What is object in java?
If I only change the return type, does the method become overloaded?
What will be the default values of all the elements of an array defined as an instance variable?
What is bufferedreader in java?