why marker interfaces are there in java
Answer Posted / srinu
when class implements marker interface our class object
getting special behavoiur.
EX:-
suppose our class implements java.lang.Serializible
interface our class object getting special behaviour(our
class object converting java support format object to
network support)
Another Example our class implements java.rmi.Remote
interface our class object acts as Remote object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How big is a 32 bit integer?
Why do we create public static method in java?
can I implement my own start() method? : Java thread
What is flush buffer?
What is methodological framework?
Can we clone singleton object in java?
What are thread safe functions?
What is a treeset class?
What are the skills required for core java?
What is array pointers ?
what is the purpose of using rmisecuritymanager in rmi?
Why are the methods of the math class static?
How we can make copy of a java object?
What is vector?
When will we use them?