why java does not support multiple inheritance
Answer Posted / priyanka
Multiple inheritance means derive class from multiple
classes but java can't extend multiple classes. it can
extend one class but multiple interfaces. so create
multiple interfaces n then implement it.
Java have such fzacility to avoid ambiguty.
Thank u
| Is This Answer Correct ? | 35 Yes | 17 No |
Post New Answer View All Answers
What does bitwise or mean?
What is jit and its use?
Why java uses the concept of the string literal?
What is factor r?
Explain the access modifiers for a class, method and variables?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What are access specifiers in java ?
Should database connections be singleton?
What is the use of generics? When was it added to the Java development Kit?
What is java util?
Which is bigger float or double?
How objects are stored in java?
Is array serializable java?
Differentiate between array list and vector in java.
How can I debug the Java security exceptions and AccessControlExceptions?