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 a vararg?
Can you access the private method from outside the class?
Differentiate between stringbuffer and stringbuilder in java.
What is the symbol for line break?
What is a Null object?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
How many bytes is string in java?
Is main an identifier?
Can we use string in the switch case?
How can you write a loop indefinitely in java programming?
What is deserialization?
What are the differences between string, stringbuffer and stringbuilder?
What is the replace tool?
What is ternary operator in java?
How will you initialize an Applet?