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 autoboxing in java?
Can a hashset contain duplicates java?
Write a program to reverse a number in java?
What is jit compiler in java?
What is the purpose of file class?
What is final keyword in java?
How can we create a thread in java?
What is meant by polymorphism?
make a method which any number and any type of argument and print sum of that arguments.....
What is unmodifiable list in java?
What are the advantages of defining packages in java?
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is difference between local variable and global variable?
What are the high-level thread states in java programming?
Mention the default values of all the elements of an array defined as an instance variable.