all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.
Answer Posted / kartik naidhruva
Its foolish to say a class extends more than one class...
Who told u that!!!!
inorder to implement multiple inheritance in java we use
INTERFACES....
with the help of interfaces we can Partially implement
Multiple inheritance
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Difference between static binding and dynamic binding?
What is the collections api?
Can we have 2 main methods in java class?
Describe method overriding
What is JFC?
What is the difference between break and continue statements?
Can we have more than one package statement in source file ?
What is a two-pass assembler?
How many unicode characters are there?
What is the purpose of stub and skeleton?
What is ellipsis in java?
What is keyword in oop?
How does regex work?
What is the statements?
How can we find the actual size of an object on the heap?