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
Is double bigger than float?
How do I write a self declaration?
Is java call by reference?
Write a program to solve producer consumer problem in java?
What is string intern in java?
When we should use serialization?
Why do we need wrapper class?
explain local datetime api in java8?
Explain about the security aspect of java?
What is boolean data type in java?
Explain the significance of class loaders in bootstrap?
Difference between this() and super() in java ?
List types of storage classes in java?
How do you do absolute value in java?
Can we sort hashmap in java?