File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes use of marker interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "use of marker interface" Watch "use of marker interface" New topic

use of marker interface

Divya Gehlot
Ranch Hand

Joined: Sep 10, 2006
Posts: 243
I am conused in the usage of marker interfaces, As Somewhere I read that they are used to tag classes. But didnt get it.
Can anyone elaborate on this.

SCJP1.5(81%), SCDJWS(94%), next mission SCEA (but need to wait or that)
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
There have been many, many discussions on this topic. You'll find them by clicking the "Search" link at the top of the page. In fact, this question gets asked so frequently that there's an entry in the FAQ.
I agree. Here's the link:
subject: use of marker interface
It's not a secret anymore!