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…
…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…
Login Register 100+ Free Java interview FAQs 100+ Free Big Data interview FAQs
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…
Login Register 100+ Free Java interview FAQs 100+ Free Big Data interview FAQs