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


Please Help Members By Posting Answers For Below Questions

What are the types of literals?

569


Is vector synchronized in java?

559


Can I import same package/class twice?

498


Is ++ operator is thread safe in java?

518


Why does java have two ways to create child threads?

472






How to store image in arraylist in java?

514


What are exceptions

646


What are disadvantages of java?

525


When can an object reference be cast to an interface reference in java programming?

586


What is use of set in java?

498


What is fail fast in java?

576


What are exception handling keywords in java?

612


What is the difference between private & public & friendly classes?

554


Which number is denoted by leading zero in java?

815


Explain try and catch keywords in java?

623