can you create interface instance ?

Answer Posted / jenith michael raj

This is simply anonymous inner class, he implements the
interface in that class, that is why its working

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you identify if jvm is 32-bit or 64-bit from java program?

528


Explain features of interfaces in java?

548


Explain Basics of OOP Language in java

580


Java Compiler is stored in JDK, JRE or JVM?

1042


What is the difference between conversation & casting?

563






Can we assign the reference to this variable?

531


What is encapsulation in java?

611


What is the difference between the direct buffer and non-direct buffer in java?

533


List down the methods and interfaces of collection class in java.

533


What is advantage of java?

531


What is data type example?

541


Is java written in c?

530


What is the difference between the font and fontmetrics classes in java programming?

490


What do you mean by scope of variable?

476


How are observer and observable used in java programming?

537