If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification.
Answer Posted / vijayakumar chinnasamy
Every marker interface has some specific functionality and
no methods in that interface.
Ex:
Searializable - Persistent purpose
Clonnable - for cloning the object
SingleThreadedModel - only one object can be create.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you use equal in java?
How does arrays sort work in java?
What is static synchronization?
Is there any tag in htm to upload and download files?
Is heap stored in ram?
How many bytes are a float?
How many bits is a double?
What is the use of predicate in java 8?
what do you mean by classloader?
How do you include a string in java?
What is starvation?
What is anagram word?
Why is string builder not thread safe?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Is a boolean 1 bit?