why java does not support multiple inheritance
Answer Posted / kishore
Java absolutly support multiple inheritence in terms of
Interface.We can extend one class only to avoid ambiguity
problem.In interface we have to define the functions.So we
don't get any ambiguity.In c++ it is big problem with
multiple inheritence but in JAVA this thing is improved by
introducing Interfaces
| Is This Answer Correct ? | 304 Yes | 88 No |
Post New Answer View All Answers
Explain the scope or life time of class variables or static variables?
What is the default value of float and double datatype in java?
What is the size of int in 64-bit jvm?
How to use string tokenizer class.
Can we serialize static variables in java?
What is data type example?
What is comparator in java?
What do you understand by Header linked List?
Can we nested try statements in java?
What is meant by local variable and instance variable?
What is the advantage of preparedstatement over statement?
What is command line used for?
How do you create a reference in java?
When we serialize an object does the serialization mechanism saves its references too?
How to calculate the length of a singly linked list in java?