Deep Java Sea
Q.
How marker interface works.
Using "instanceof"
They aren't 'identified by the JVM' at all. They're identified by the Java code, for example ObjectOutputStream, via the instanceof operator.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment