New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Oracle Java SE 11 Developer 1z0-819 Question # 53 Topic 6 Discussion

Oracle Java SE 11 Developer 1z0-819 Question # 53 Topic 6 Discussion

1z0-819 Exam Topic 6 Question 53 Discussion:
Question #: 53
Topic #: 6

Given the code fragment:

1z0-819 Question 53

Which can replace line 2?


A.

UnaryOperator u = (int i) -> i * 2;


B.

UnaryOperator u = (var i) -> (i * 2);


C.

UnaryOperator u = var i -> { return i * 2; };


D.

UnaryOperator u = i -> { return i * 2);


Get Premium 1z0-819 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.