InterviewSolution
Saved Bookmarks
| 1. |
Annotation type definition looks similar to which of the following?(a) Method(b) Class(c) Interface(d) FieldI got this question at a job interview.I'd like to ask this question from Annotations in section Application Lifecycle & Annotations of Java |
|
Answer» CORRECT option is (C) Interface The explanation is: ANNOTATION type definition is similar to an interface definition in which the KEYWORD interface is preceded by the sign @. |
|