Hi can u pls tell me what is the use of marker interface.
Iknow what is marker interface but what ability will the
object get by implementing this.
Answer Posted / sudheer
The interfaces with no defined methods act like markers. They just tell the compiler that the objects of the classes
implementing the interfaces with no defined methods need to be treated differently.
Example Serializable, clonable etc.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What class of exceptions are generated by the java run-time system?
Why does java have two ways to create child threads? Which way is better?
What is the independent variable in an experiment?
what is aggregation in java?
Is call by reference possible in java?
What are peerless components in java programming?
What is the meaning of I ++ in java?
What is a generic code?
State two differences between C and Java.
What is super constructor?
What is the purpose of object oriented programming?
Why deletion in linkedlist is fast than arraylist?
How do you bind variables?
What is an i/o filter?
What is method with example?