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-808 Topic 11 Question 111 Discussion

Actual exam question for Oracle's 1Z0-808 exam
Question #: 111
Topic #: 11
[All 1Z0-808 Questions]

Given the code fragment:

What is the result?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Alfreda
1 days ago
I think A is the correct answer. The compile-time error should be at line 18 because the variable 'i' is not defined in the scope of the 'if' statement.
upvoted 0 times
...
Delisa
12 days ago
The correct answer is B. There's a compile-time error at line 9 because the method 'getValue()' is not defined for the class 'String'.
upvoted 0 times
...
Desmond
16 days ago
But why do you think that? Can you explain your reasoning?
upvoted 0 times
...
Karol
22 days ago
I disagree, I believe the answer is C) It prints : 1
upvoted 0 times
...
Desmond
25 days ago
I think the answer is A) It results in a compile time error at line 18.
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