Define interface?

Answers were Sorted based on User's Feedback



Define interface?..

Answer / neema

Java doesnot support multiple inheritance.
interface is a way to achieve multiple inheritance in java,
an interface contains only abstract methods and final
variables.
the class that implements the interface should define the
code for the methods

Is This Answer Correct ?    7 Yes 1 No

Define interface?..

Answer / ravikiran(aptech mumbai)

interface is the one which contains all the methods as
abstract.If we wish to do a complete new functionality
implementation in the future we have to make use of interface

Is This Answer Correct ?    5 Yes 0 No

Define interface?..

Answer / dev yadav

interface is a collection of abstract methods ...we also implement multiple inheritence in java with the help of interface....

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

Which java version is latest?

0 Answers  


What is token in java?

0 Answers  


Explain about map interface in java?

0 Answers  


Give a brief description of java socket programming?

0 Answers  


Functionality of JVM?

7 Answers   Infosys,






What are the Main functions of Java?

0 Answers   Akamai Technologies,


What are inner classes or non static nested classes in java?

0 Answers  


What is java util hashmap?

0 Answers  


Which eclipse is best for java?

0 Answers  


What are packages in java?

0 Answers  


How to change the priority of thread or how to set priority of thread?

0 Answers  


Why is String immutable?

0 Answers   Atos Origin,


Categories