Marker interface means , interface which has no methods.Then
what is the necessity of its usage.I read "it tells the
compiler that it should be treated differently ". "It is
used to store state of an object". But still am not
clear.Please explain clearly.
Answer Posted / ras
To store the state of object
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are reference variables in java?
State differences between C and Java?
What is java lang string?
Can we serialize static variables in java?
What are sets in java?
Is string serializable in java?
What are different types of states exist for a thread?
What is the difference between and ?
What is a condition in programming?
What do you mean by JVM?
What will happen if a thrown exception is not handled?
Is java pass by value or pass by reference?
What is a control variable example?
What is a numeric format?
What is ‘is-a ‘ relationship in java?