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
Which software is used for java programming?
What is package protected in java?
What is purpose of keyword void?
Why java applets are more useful for intranets as compared to internet?
what is mutual exclusion? : Java thread
What is the use of conditional statement?
What is assembly used for?
What is the difference between a local variable and an instance variable?
What is thread life cycle in java?
What is mean by encoding?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is final keyword in java? Give an example.
I don’t want my class to be inherited by any other class. What should I do?
What is the purpose of a default constructor?
How large is a boolean?