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
Write a java program to generate fibonacci series ?
Can an unreferenced object be referenced again?
What are the new features in java 8? Explain
Why does my function print none?
Why collection doesn’t extend cloneable and serializable interfaces?
Why java is said to be pass-by-value ?
How does linkedhashmap work in java?
Write a factorial program using recursion in java?
Is 0 an even number?
What is a class reference?
Are generics important java?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What are the advantages and disadvantages of object cloning?
What are the important features of Java 10 release?