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
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is java util function?
What is nested interface?
What is equlas() and hashcode() contract in java? Where does it used?
Explain about java sdk?
How do you insert a line break?
What is a data structure java?
Explain the difference between extends thread vs implements runnable in java?
Why is string builder not thread safe?
Which data type is class in java?
What does it mean that a class or member is final?
What language is an assembler written in?
What is difference between public static and void?
what is server side caching?
Is java call by value?