Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

nonnull annotation in java

The @NonNull annotation is the most important among all the annotations of the null-safety feature. We can use this annotation t0 declare non-null constraint anywhere an object reference is expected: a field, a method parameter or a method's return value.
 
PREVIOUS NEXT
Tagged: #nonnull #annotation #java
ADD COMMENT
Topic
Name
6+5 =