my dog learned polymorphism*
The moose likes Java in General and the fly likes Conceptual difference between annotation and marker interface. 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
Bookmark "Conceptual difference between annotation and marker interface." Watch "Conceptual difference between annotation and marker interface." New topic
Author

Conceptual difference between annotation and marker interface.

Joseph Kulandai
Greenhorn

Joined: Sep 25, 2003
Posts: 3
Marker interface informs a compiler about a class. Sameway annotation is also gives information about class / method / object.

Then in what way they are different?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

"JK"

Please check you private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Conceptual difference between annotation and marker interface.
 
Similar Threads
When to use @annotation instead of marker interface declarations
Forward declaration doubt
small doubt regarding Marker Interface
Marker interface related question
Conceptual difference between annotation and marker interface.