Which three annotation uses are valid?

Which three annotation uses are valid? (Choose three.)
A. Function<String, String> func = (@NonNull x) -> x.toUpperCase();
B. var v = "Hello" + (@Interned) "World"
C. Function<String, String> func = (var @NonNull x) -> x.toUpperCase();
D. Function<String, String> func = (@NonNull var x) -> x.toUpperCase();
E. var myString = (@NonNull String) str;
F. var obj = new @Interned MyObject();

Download Printable PDF. VALID exam to help you PASS.

6 thoughts on “Which three annotation uses are valid?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.