• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of Markup/null Interfaces

 
Raukutam Sandeep
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,

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.
 
Jerry Pulley
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!