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
What is main string [] args?
How do you reverse a string in java without using string buffer?
What do you mean by access modifier?
What is difference between iterator and enumeration in java?
How many java versions are there?
What do you mean by data type?
What about features of local inner class?
What does n mean?
What is static in java?
What is isa relationship?
What are the methods used to implement for the key object in the hash map?
What are the different types of sorting in java?
What is a substitution variable?
What are different types of expressions?
What does || mean in vectors?