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
Which is bigger double or float?
Is ++ operator thread-safe in java?
What advantage do java's layout managers provide over traditional windowing systems?
What is the size of integer?
How do I get a substring?
Explain different ways of creating a thread. Which one would you prefer and why?
Why to use nested classes in java?
what is the difference between thread and runnable types? : Java thread
What is the multi-catch block in java?
What is variable explain?
How do you escape in java?
Do we need to manually write Copy Constructor?
What is final keyword in java? Give an example.
Explain about automatic type conversion in java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?