why marker interfaces are there in java
Answer Posted / ravinder
When a class implements a marker interface, then the object
of that class is given with a special behavior. For example
if a class implements remote interface(available in
java.rmi.* package) object of that class acts as a Remote
Object. For this reason java provides Marker Interface.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What happens if constructor is private?
Are arrays passed by reference in java?
What is the replace tool?
Differentiate between array list and vector in java.
How do I get 64 bit java?
What is the function of character?
Which is bigger float or double?
What is a values collection view ?
How does sublist works in java?
What is comparable and comparator interface? List their differences
What is the meaning of 3 dots in java?
What is the final class?
How do you ensure that n threads can access n resources without deadlock?
Which is better arraylist or vector?
What is the difference between a static and a non-static inner class in java programming?