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
Can we make main() thread as daemon?
Is multiple inheritance supported by java?
What is the difference between assignment and initialization?
When should a function throw an exception?
What is the main difference between java platform and other platforms?
Explain the difference between static and dynamic binding in java?
Can we overload the methods by making them static?
What is the difference between a vector & an array list?
What is a qms manual?
What is better- service oriented or batch oriented solutions?
What is string :: npos?
what is the major difference between linkedlist and arraylist in java?
What are the escape sequences in java?
What are wrapper classes in java?
What is primitive array?