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 is Recursion Function?
How do you end a program?
When throw keyword is used?
what is meant by encapsulation?
How to optimize the javac output?
What is linkedlist in java?
What is treemap in java?
What does a method signature consist of?
What are the restrictions that are applied to the java static methods?
How is it possible for two string objects with identical values not to be equal under the == operator?
What is java dot?
Why parameters should be passed by reference?
Which list is sorted in java?
How do you use compareto in java?
Can we use a default constructor of a class even if an explicit constructor is defined?