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
What's the difference between int and integer in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
What does @override mean?
What is the difference between path and classpath variables?
How many return statement are allowed in a function?
Is the empty set a singleton?
How do you sort a string in java?
What are the differences between path and classpath variables?
Where pragma is used?
What is the maximum size of list in java?
Can we sort hashset in java?
What is a null class?
What is api data?
How would you dynamically allocate memory to an array?
Is it necessary that each try block must be followed by a catch block?