What are interfaces?

Answers were Sorted based on User's Feedback



What are interfaces?..

Answer / luck

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

Is This Answer Correct ?    1 Yes 0 No

What are interfaces?..

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

What are interfaces?..

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

Which method returns the length of a string?

1 Answers  


Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.

1 Answers  


What are advantages and disadvantages of OOPs?

1 Answers   Amdocs,


How to decrease number of hashings in has

1 Answers  


What is a function in java?

1 Answers  


How to define a constant variable in Java?

1 Answers   TCS,


what is meant by serialization?

7 Answers  


What will happen if we write code like: try{}catch(exception e)catch(IOException i)

6 Answers   CTS, TCS,


Difference between overloading and overridding?

4 Answers  


abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }

3 Answers  


How to create two different thread class inside a main function?

1 Answers  


What is non static block in java

10 Answers   Emphasis, Ness Technologies,


Categories