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 does || || mean in math?
Objects or references which of them gets garbage collected?
When can an object reference be cast to an interface reference in java programming?
What are the main uses of the super keyword?
What is the difference between procedural and object-oriented programs?
Does sprintf add a null terminator?
Can we call virtual funciton in a constructor ?
What is a control variable example?
What is a flag value?
What is instance means in java?
What is the purpose of return statement?
What is binary tree in java?
What is the static keyword?
Why java is said to be pass-by-value ?
What is skeleton and stub?