Java interview question:

Which statements are true with respect to interface ?

1. Interface is a java feature, it able to allow zero or more number of abstract methods.

2. For interfaces, we are able to declare only reference variables.

3. For interfaces, we are unable to create objects.

4. all the variables as "public static final".

5. all the methods are "public and abstract".

Posted on by