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 |
What are the Static and Dynamic Variables? Differentiate them.
What is numeric promotion?
write a class to input 2 points by the user & check the line maked by the points is horizontal,vertical or rectangle?
How do u pass data from one jsp to another jsp?
What is the maximum size of array in java?
What is prefix of a string?
Explain about serializable interface in java?
what is interface in java? Explain
What is a function in programming?
What is core java called?
What is size_t?
How many bits is a float?