WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT
INTERFACE THEN WHY WE USED IN JAVA?
Answer Posted / ravi
Interfaces without any methos or constants are known as
Marker interface.They are used only to mark or tag a
class.it indicates that class supports that functionality.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How do you square a number in java?
what is recursion in java
What do heavy weight components mean in java programming?
What is constructor in java ?
What is class forname?
What are the rules for naming an array?
what is optional in java 8?
Can we define private and protected modifiers for the members in interfaces?
What is final keyword in java? Give an example.
which class is the wait() method defined in? : Java thread
What are inner classes or non static nested classes in java?
What is variable explain?
What is a protected class in java?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?