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 |
Do loops java?
What are advantages of exception handling in java?
What does jre stand for?
Where are variables stored?
Why cant we define System.out.println() inside a class directly?
What is the difference between a static and a non-static inner class in java programming?
What is sleep method?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Is there is any difference between a scrollbar and a scrollpane?
How OOPS concept is achieved in Java?
6 Answers Cognizant, JPMorgan Chase, Xavient,
Does anyone still use java?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?