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
How does hashset works in java?
What are different access specifiers in java? Explain
What is java dot?
How do you test a method for an exception using junit?
What is compiler and what its output.
How do you convert int to char in java?
Can I use % with real numbers?
What do you understand by the term wrapper classes?
What is role of void keyword in declaring functions?
Which is the best sorting technique in java?
How will you load a specific locale?
What is the symbol for average?
How do you write a conditional statement?
What is the purpose of the finalize() method?
How do you start a thread?