Blog Archives

8 Java Annotations interview Questions and Answers

Q1. Are annotations a compile time or run-time feature? A1. You can have either compile-time or run-time annotations. @Override is a simple compile-time annotation to catch little mistakes like typing tostring( …



More Java annotations interview questions & answers

Q1. What do you understand by the terms annotation types, annotations, and annotation processors? A1. An annotation type is used for defining an annotation. Java 5 defines a number of annotation …



300+ Java Interview FAQs

800+ Java Interview Q&As

Top