If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification.
Answers were Sorted based on User's Feedback
Answer / kamlesh yadav
Implementing a java Class with the help of Marker Interface
will inform compiler about specification.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / 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 |
How does map works in java?
What is garbage collector?
Why singleton class is used in java?
Why java is considered as platform independent?
What are the steps to do connection pooling in weblogic?
What is difference between path and classpath variables?
How to disable caching on back button of the browser?
What are the advantages of compiled language?
what is the difference between statis block and static variable
What is a linkedhashmap java?
Differentiate between postfix and prefix operators in java.
How do you use compareto method?