How is the marker interface used in Java?
Answer / Shobhit Johri
A marker interface is used in Java by simply naming a class as an implementer of that interface. For example, the java.io.Serializable interface is a marker interface that indicates a class can be serialized and deserialized.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is request processor?
what is business objects?
Differentiate between == and equals().
What is map in java?
Can a Byte object be cast to a double value?
What is an event?
What is methods and methodology?
Can you override private or static method in java?
What is the buffer limit?
What is the abstract class?
How to add panel to a Frame?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?