Answer Posted / venkatachalapathy
Java doesn’t provide multiple inheritance (MI), at least
not in the same sense that C++ does. Like
protected, MI seems like a good idea but you know you need
it only when you are face to face with a
certain design problem. Since Java uses a singly-rooted
hierarchy, you’ll probably run into fewer situations in
which MI is necessary. The interface keyword takes care of
combining multiple interfaces.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain list interface?
What does the three dot emoji mean?
What is field name?
String class is defined under which package in java?
What is meant by main method?
Which class is used by server applications to obtain a port and listen for client requests?
Why does java not support pointers?
what is a thread pool in java and why is it used?
Explain about data types?
Explain different ways of creating a thread?
Where will it be used?
What are the two types of streams offered by java 8?
What is ascii code?
What is map java?
What exactly is a .class file?