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
What is the difference between processes and threads?
Explain what is Marker interface?
Why does java have different data types for integers and floating-point values?
What is the function of character?
What are abstract classes and anonymous classes?
Explain inner classes ?
How many bits is size_t?
Define iterator and methods in iterator?
How is Object Oriented Programming different from Procedure Oriented Programming?
What are synchronized methods ?
What defines function?
Where are local variables stored?
What is an interoperable application in java ?
What is meant by method overriding?
How to use arraylist in java netbeans?