Results 1 to 2 of 2
  1. #1
    venkatallu is offline Member
    Join Date
    Sep 2008
    Posts
    16
    Rep Power
    0

    Default use of marker interface

    what is the use of marker interface?
    why serializable interface is marker interface?

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    A marker interface is a do-nothing, but allows strong typing so that code groups can match and mix with greater precision.

    Example, you would not want jelly rolls and coffee methods when trying to do quantum chromodynamics.

    Proabably not, some people would. We read about those people in the newspapers.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. Implementing Interface
    By mew in forum New To Java
    Replies: 4
    Last Post: 02-16-2010, 03:33 PM
  2. Interface?
    By MarkWilson in forum New To Java
    Replies: 4
    Last Post: 07-11-2008, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •