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
What is string subsequence method?
What are variable arguments or varargs?
What is a substring of a string?
How do you remove spaces in java?
Can an interface extend a class?
What are daemon Threads in java?
What is immutable state?
What programs use java?
Can a constructor be private and how are this() and super() method used with constructor?
What happens when I use / and % with a negative numerator?
What is equlas() and hashcode() contract in java? Where does it used?
Difference between operator overloading and function overloading
What is the role of the java.rmi.naming class?
What are the characteristics of Final,Finally and Finalize keywords.
Does java support Operator Overloading?