Can anybody tell me what is the use of markup/null interfaces? Markup interface are those which doesn't have any functions in it. Am I right? The 'Remote' interface in RMI is a markup interface, but still we use that. Why? Pls explain me. regds, Sandeep.
posted 16 years ago
Sandeep, Client code can use <code>instanceof</code> to determine if an object has been marked for a special purpose, like serializing or remoting. Jerry