Home »
MCQs »
Spring MCQs
Which Annotation indicates that a particular parameter, return value, or field is null?
57. Which Annotation indicates that a particular parameter, return value, or field is null?
- @null
- @nullable
- @nullify
Answer: B) @nullable
Explanation:
@nullable annotation indicates that a particular parameter, return value, or field is null.