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
Why do we need data serialization?
What is an exception? difference between Checked and Unchecked exception in Java
Which api is provided by java for operations on set of objects?
Can constructor be inherited?
What is a string token?
What is the function of log?
Is an array a vector?
What is difference between local variable and global variable?
What are the access modifiers available in java?
Why is stringbuffer faster than string?
What is the unit of plancks constant?
Why destructor is not used in java?
What is a lambda expression ? What's its use ?
What is a function in java?
What is reverse function?