Answer Posted / tarun
I want to make sure that The answer provided by Tewodros
Tesema is an example of multilevel inheritence not multiple
inheritence which is supporte by java and it is true.
But Java does not supports multiple inheritence. In the case
of Interface we can inherit multiple interfaces by
sepertaing them with comm(,). But a class can inherit a
single class at a time.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is mean by encoding?
Why declare Main() method as a static in java ?
What exactly is java?
In a container there are 5 components. I want to display all the component names, how will you do that?
How objects of a class are created if no constructor is defined in the class?
How to print nodes of a Binary tree?
What is enhanced loop in java?
Is 0 true or is 1 true?
How to sort elements in a parallel array in java?
What is a dynamic array java?
What is the use of predicate in java 8?
What is the relationship between class and object?
What is the difference between yield() and sleep()?
What is the purpose of a volatile variable?
What is a modifier?