Exam 1Z0-819 Topic 7 Question 168 Discussion

Actual exam question for Oracle's 1Z0-819 exam
Question #: 168
Topic #: 7
Given the code fragment:
var pool = Executors.newFixedThreadPool(5);
Future outcome = pool.submit(() > 1);
Which type of lambda expression is passed into submit()?

Suggested Answer: C Vote an answer

by Arabela at Jan 02, 2025, 02:00 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10