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 |
Is it possible to instantiate the abstract class?
java is puerly object oriented or not ?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
How do you check if an arraylist is not empty?
How to convert string to byte array and vice versa?
Why we use multi threading instead of multiprocessing?
Can a class have multiple constructors?
Are arrays immutable in java?
What is the independent variable in an experiment?
What is difference between array and vector?
What is difference between float and double?
What’s the difference between applets and standalone program?