Hi can u pls tell me what is the use of marker interface.
Iknow what is marker interface but what ability will the
object get by implementing this.
Answer Posted / sowmya sreenivasan
Marker Interface is also called Tagging interface which are used as a boolean property of a class but actually doesnt require implementation of any methods.
eg:java.io.serializable interface.
The objects of the class implementing this interface are serializable objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an object in java and how is it created?
How do you check whether the list is empty or not in java?
Can we override a variable in java?
Is null == null in java?
Explain about instanceof operator in java?
How do you initialize an arraylist in java?
How to instantiate static nested classes in java?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
How do you add an element to a hashset in java?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
How do you sing an Applet ?
How we can run a jar file through command prompt in java?
How to create an interface?
how to write a program for sending mails between client and server