What are interfaces?

Answers were Sorted based on User's Feedback

Answer / luck

in interface v can only declare a function it will not have any properties

Is This Answer Correct ?    1 Yes 0 No

Answer / ravikiran(aptech mumbai)

interfaces decalres methods and variables...where methods
are purely abstarct and variables are abstract and final

Is This Answer Correct ?    1 Yes 1 No

Answer / sri

Interface is a mechanism in Java which is used to create prototype of the classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is aggregation?

1 Answers   Cap Gemini,

what is the use/perpose of having a method antive?

2 Answers  

when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

0 Answers   SAP Labs,

What is the diff. b/w Interfaces & Abstract class?

6 Answers   Ericsson,

how to make hashmap object as synchronized object?

2 Answers   BOB Technologies,

Define Compiling?

3 Answers  

we cannot create an object of interface but we can create a variable of it

1 Answers  

Define interface?

3 Answers  

relation between list and linked list

1 Answers   Infosys,

What is Three tier architecture. Can anyone explain with a Ordinary web application Project? (JSP,Servlets,JAVA,DAO) ?

3 Answers   TCS,

Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.

5 Answers  

What JNDI(Java Naming and Directory Interface) provides?

4 Answers