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 is difference between wait and notify in java?
Is class is a data type?
What is stack explain?
What are the types of literals?
what is the significance of listiterator in java?
Why declare Main() inside the class in java ?
What do you understand by the bean persistent property?
What is meant by vector class, dictionary class, hash table class, and property class?
Can we declare register variable as global?
How to sort numbers in java without array?
Can we convert list to set in java?
What is r * in math?
What about static nested classes in java?
What is the different between get and post?
What the difference is between execute, execute Query, execute Update?