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 is the purpose of garbage collection in java?
What does += mean coding?
What is the difference between throw and throws keywords?
What are the types of sockets in java?
What is computer compiler?
How do you define a method?
What technique is carried out to find out if a particular string is empty?
What is the difference between actual and formal parameters?
What is extension method in java?
how to create constants in java?
Is the empty set a singleton?
What is static keyword?
Which package is always imported by default?
What is an immutable class?
Difference between start() and run() method of thread class?