Answer Posted / midhun h kumar
No ...
Multiple inheritance is not allowed in Java...
but infact we can achieve the functionality using interfaces...
we can define interfaces and any class can implement these
interfaces..
a class can implement any number of interfaces but can
extend only one class..
thus we can achieve what we expect to get from multiple
inheritance thru interfaces...
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Explain the usage of this with constructors?
What is the difference between compile-time polymorphism and runtime polymorphism?
What is the meaning of course?
Why set is used in java?
How to find the largest value from the given array.
How do you remove an object from an arraylist in java?
Name some classes present in java.util.regex package.
Where to store local variables?
Why java is used everywhere?
Can you explain the cs option of java interpreter?
What does || mean in vectors?
What is the largest number a double can hold?
What is string made of?
What is boolean keyword in java?
How a string is stored in memory?