Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Oracle Discussions
Exam 1Z0-819 Topic 10 Question 79 Discussion
Oracle Exam 1Z0-819 Topic 10 Question 79 Discussion
Actual exam question for Oracle's 1Z0-819 exam
Question #: 79
Topic #: 10
[All 1Z0-819 Questions]
Given the code fragment:
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);
Show Suggested Answer
Hide Answer
Suggested Answer:
B
by
Keneth
at
Apr 28, 2024, 05:59 PM
Limited Time Offer
25%
Off
Get Premium 1Z0-819 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Jennifer
6 months ago
True, D misses a closing brace. B is indeed the best option.
upvoted
0
times
...
Vi
7 months ago
Option D confused me initially, but the syntax is slightly off.
upvoted
0
times
...
Shawana
7 months ago
I agree, option B seems right. Using 'var' with parentheses looks fine.
upvoted
0
times
...
Chau
7 months ago
I think the correct answer is B. The other options have syntax errors.
upvoted
0
times
...
Daron
7 months ago
Yeah, especially the part about the right syntax.
upvoted
0
times
...
Louvenia
7 months ago
Did anyone find the question tough?
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
az-700
pass4success
az-104
200-301
200-201
cissp
350-401
350-201
350-501
350-601
350-801
350-901
az-720
az-305
pl-300
Jennifer
6 months agoVi
7 months agoShawana
7 months agoChau
7 months agoDaron
7 months agoLouvenia
7 months ago