Java does not support multiple inheritance.
how interface helps in the same?

Answer Posted / narmada nelluri

Java does not suuport multiple inheritence through classes
we can acheive the same with interfaces that means a class
can implement more than one interface at a time.

Is This Answer Correct ?    31 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between static binding and dynamic binding?

569


Why webdriver is an interface?

585


How do you check if a string contains only numeric digits?

620


What is the purpose of a default constructor?

582


I want to re-reach and use an object once it has been garbage collected. How it's possible?

557






How do you write a conditional statement?

522


Is java map thread safe?

495


What is the do while loop syntax?

555


What is a data structure java?

507


Can we have try without catch block?

646


Is the milky way in a void?

542


What are different types of arrays?

537


Which is dependent variable?

498


What is thread count in java?

548


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

596