Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-809 Topic 19 Question 48 Discussion

Actual exam question for Oracle's 1Z0-809 exam
Question #: 48
Topic #: 19
[All 1Z0-809 Questions]

Given the code fragment:

What is the result?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Margart
3 days ago
Haha, this question is like a game of 'Guess the Output'! I'm going to go with C. 'Javacourse' because the 'course' variable is concatenated with the string 'Java'.
upvoted 0 times
...
Darnell
4 days ago
Wow, this is a tricky one! I'm going to go with A. A compilation error at line n1 because the variable 'course' is not initialized before it's used in the 'System.out.println()' statement.
upvoted 0 times
...
Avery
12 days ago
I'm pretty sure the answer is B. 'courseJava' should be the output since the 'course' variable is concatenated with the string 'Java'.
upvoted 0 times
...
Cherry
14 days ago
The correct answer is D. A compilation error occurs at line n2 because the variable 'courseLevel' is not defined within the scope of the 'System.out.println()' statement.
upvoted 0 times
...
Marg
17 days ago
I'm not sure, but I think there might be a compilation error at line n1.
upvoted 0 times
...
Fairy
18 days ago
I agree with Ollie, the code looks like it will output Javacourse.
upvoted 0 times
...
Ollie
29 days ago
I think the result will be Javacourse.
upvoted 0 times
...

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  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77