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 the use of default method in interface in java?
How many bits is a 64 bit byte?
Can a class be protected in java?
How do you override a private method in java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
Is special character in java?
What is data object example?
Is java a pure object oriented language?
What is backdrop?
How is a variable stored in memory?
How many ways can you break a singleton class in java?
Can a boolean be null java?
What is the importance of hashcode() and equals() methods?
Which of the classes will have more memory allocated?
What are the main concepts of oops in java?