exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 64 discussion

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

Given:

What is the result?

  • A. 400 200
  • B. 200 200
  • C. 400 400
  • D. Compilation fails.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
dya45792
Highly Voted 3 years, 6 months ago
Antwort A , ist richtig : public static void main(String[] args) { int var1 = 200; System.out.println(doCalc(var1)); System.out.println(" " + var1); } static int doCalc(int var1) { var1 = var1 * 2; return var1; } } 400 200
upvoted 12 times
...
Kolodets
Most Recent 2 months, 3 weeks ago
pass by value => old value outside of method
upvoted 2 times
...
Vicky_65
3 months, 1 week ago
Selected Answer: A
A is correct one
upvoted 1 times
...
haisaco
6 months, 3 weeks ago
Selected Answer: A
A is the right Answer
upvoted 1 times
...
debreelias
1 year, 9 months ago
A is the right Answer
upvoted 2 times
...
lilz
2 years, 4 months ago
A is right
upvoted 2 times
...
v323rs
3 years, 6 months ago
agree with dya45792
upvoted 4 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