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 is the size of integer?
What is casting?
How do you sort in java?
What are predicates in java 8?
What is java lang object?
Difference between operator overloading and function overloading
0 Answers Tavant Technologies, Virtusa,
What is a list in java?
What does t in java mean?
Explain oops concepts in detail?
Can an interface have a constructor?
How many types of packages are there in Java?
What is a nested list?