exam questions

Exam 1z0-809 All Questions

View all questions & answers for the 1z0-809 exam

Exam 1z0-809 topic 1 question 138 discussion

Actual exam question from Oracle's 1z0-809
Question #: 138
Topic #: 1
[All 1z0-809 Questions]


What is the result?

  • A. A compilation error occurs at line 7.
  • B. 100
  • C. A compilation error occurs at line 8.
  • D. A compilation error occurs at line 15.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Abdullah_Rahahleah
Highly Voted 3 years, 7 months ago
Answer is B==> 100 , tested BiPredicate<String, String> bp=(String s1,String s2)->s1.contains("SG")&& s2.contains("Java"); BiFunction<String, String, Integer>bf=(String s1,String s2)->{ int fee=0; if(bp.test(s1,s2)) { fee=100; } return fee; }; int fee1=bf.apply("D101SG", "Java programming"); System.out.println(fee1);
upvoted 13 times
...
steefaand
Most Recent 5 months, 4 weeks ago
Selected Answer: B
B is answer, tested.
upvoted 1 times
...
duydn
10 months, 2 weeks ago
B is correct, tested 22/09/2023
upvoted 1 times
...
lnrdgst
2 years, 2 months ago
feel = 100; B
upvoted 1 times
...
petetsai
2 years, 7 months ago
Selected Answer: B
Answer is B==> 100 , tested
upvoted 2 times
...
Svetleto13
3 years, 2 months ago
B,tested
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago