Oracle Java SE 8 Programmer II 1z0-809 Question # 13 Topic 2 Discussion

Oracle Java SE 8 Programmer II 1z0-809 Question # 13 Topic 2 Discussion

1z0-809 Exam Topic 2 Question 13 Discussion:
Question #: 13
Topic #: 2

Given the code fragment:

1z0-809 Question 13

Which code fragment, when inserted at line 7, enables printing 100?


A.

Function funRef = e –> e + 10;Integer result = funRef.apply(value);


B.

IntFunction funRef = e –> e + 10;Integer result = funRef.apply (10);


C.

ToIntFunction funRef = e –> e + 10;int result = funRef.applyAsInt (value);


D.

ToIntFunction funRef = e –> e + 10;int result = funRef.apply (value);


Get Premium 1z0-809 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.