Interview questions on JAVA Annotations

Interview questions on JAVA annotations can be found at the below link

http://saravananmtech.wordpress.com/2014/08/16/java-interview-questions-annotations/

1) What is Java Annotations and why we need it?
2) How to create a basic Annotation?
3) What is Retention or Retention Policy in Annotations?
4) What is Target in Annotations?
5) How to define an annotation is only applicable to methods and fields?
6) How to print annotations in run-time?
7) What is marker annotations?
8) How to define default values to the members of the custom annotations?

With answers for the above questions, is available at the following link

http://saravananmtech.wordpress.com/2014/08/16/java-interview-questions-annotations/

Happy interviews 🙂

Advertisements

One Comment

  1. Posted August 23, 2014 at 11:30 am | Permalink | Reply

    Highly descriptive article, I liked that bit. Will there be a part
    2?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: