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

Answer Posted / sadiq

In Java class cannot extend more than one class,where as a
class can implement more than one interface.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the access scope of protected access specifier?

616


Can we define static methods inside interface?

621


What is the difference between serializable and externalizable interface?

668


What is externalizable interface?

691


What is parseint?

634






What is the major difference between linkedlist and arraylist?

586


What is the difference between a scrollbar and a scrollpane?

660


Explain wait(), notify() and notifyall() methods of object class ?

705


What is the synonym of string?

642


How many types of design patterns are there?

634


What is the default size of load factor in hashing based collection?

666


What is a nested list?

609


Can we declare register variable as global?

623


What is an i/o filter?

774


What does provide mean construction?

642