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 are the types of literals?
Is vector synchronized in java?
Can I import same package/class twice?
Is ++ operator is thread safe in java?
Why does java have two ways to create child threads?
How to store image in arraylist in java?
What are exceptions
What are disadvantages of java?
When can an object reference be cast to an interface reference in java programming?
What is use of set in java?
What is fail fast in java?
What are exception handling keywords in java?
What is the difference between private & public & friendly classes?
Which number is denoted by leading zero in java?
Explain try and catch keywords in java?