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 boolean false?
What is the java reflection api? Why it’s so important to have?
Can a static block throw exception?
Is nan false?
What is qualitative variable?
What is a void method?
What are local variables?
What is meant by the value of a variable?
What about anonymous inner classes in java?
Explain java coding standards for classes or java coding conventions for classes?
What is ++ a in java?
How do you empty a list in java?
Explain 5 features introduced in jdk 1.7?
What are basic data types?
What purpose do the keywords final, finally, and finalize fulfill?