This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Marker interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Marker interfaces

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Why do we need marker interfaces. Instead can we not have just a final class or something ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sorry - what is simmilar with marker interface and final classes? How would you get a final class to serve the same purpose?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Please SearchFirst. This question has been asked many, many times before.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You've been asked repeatedly to make sure and try to find answers on your own first--please, please do so.
 
jQuery in Action, 2nd edition
 
subject: Marker interfaces
 
Similar Threads
usage of marker interface
What is purpose of using Marker interfaces?
Marker interface related question
What exactly is a Marker Interface?
What is the use of Marker interfaces?