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
What is array and arraylist in java?
What is a numeric format?
What is the internal implementation of set in java?
What are static methods?
Is java pass by value or pass by reference?
How do I write a self declaration?
What is bubble sorting in java?
What is the main difference between java platform and other platforms?
When super keyword is used?
How does callback work in java?
What is the size of arraylist in java?
When should you make a function static?
Can we have try without catch block?
Can we define package statement after import statement in java?
Differentiate between stringbuffer and string?