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 does i ++ mean in Java?
What is array pointers ?
What do you understand by access specifiers in Java?
Explain how can you debug the Java code?
Why is flag used in java?
Difference between java and javascript
Can you add null to a list java?
How many types of operators are there?
What is the difference between a static and a non-static inner class in java programming?
How many inner classes can a class have?
What are different ways of object creation in java ?
How can we avoid including a header more than once?
What are the benefits of operations?
What is void in java?
Is there any difference between nested classes and inner classes?