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

what is the difference between pagecontext and servletcontext?

5 Answers   TCS, JBA Infotech,


What are the characteristics provided in jdk1.6 apart from other versions?

3 Answers   TCS,


Why are the destructors for base class and derived class called in reverse order when the program exits

0 Answers   HCL,


How to add and remove nodes in Jtree?

0 Answers  


Can I have constructor in Interface?

2 Answers  






placement papaers of spring computing technology

0 Answers   Spring Computing Technologies,


Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?

5 Answers   Rolta,


hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class

1 Answers  


what is a package?

11 Answers  


diff between abstract methods and interfaces with programing (code) example?

2 Answers  


What is OOPS Concept?

1 Answers   Cap Gemini,


How to set the Heap size in Java ?

2 Answers   HCL,






Categories