why is multiple inheritance not allowed in java?
Answer Posted / haridini
Suppose if u inherit from multiple classes and in these
classes a method of same name exists then the class which
inherits from these classes gets confused that which one to
inherit. And this is also because of reducing complexity.
And above all u will get the multiple inheritance concept
in java through interfaced.
Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What is data object example?
Can java object be locked down for exclusive use by a given thread?
What is the difference between and ?
What is the platform?
explain copyonwritearraylist and when do we use copyonwritearraylist?
What is meant by object?
What is the difference between preparedstatement and statement in java?
What is the use of hashmap in java?
What are identifiers in java?
Say any two properties in beans?
Why string is not thread safe?
What are the disadvantages of using inner classes?
Which package has light weight components?
what is a green thread? : Java thread
What do you understand by access specifiers in Java?