what is marker interface ? what is the necessity of it?
Answer Posted / sandeep
An interface that contains no methods. Eg: Serializable,
Cloneable, SingleThreadModel etc. It is used to just mark
java classes that support certain capability.
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
What is comparator in java?
Why unicode is important?
What language is pass by reference?
What is a null point?
What is consumer interface?
What is javac_g?
Is java based on c?
When should I use singleton?
What are different types of arrays?
is there a separate stack for each thread in java? : Java thread
What is the difference between compare and compareto in java?
What is fail first in java?
What is final, finally, finalize?
Can you add null to a list java?
Which sort is best in java?