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 14 Question 98 Discussion

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

Given the code fragment:

What is the result?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Noemi
3 days ago
Nah, it's gotta be a compile-time error at line 9. You can't have a non-static method inside a static block, that's just basic Java syntax.
upvoted 0 times
...
Evan
8 days ago
I'm pretty sure it's a compile-time error at line 18. The `super()` call needs to be the first statement in the constructor.
upvoted 0 times
...
Huey
16 days ago
I see your point, but I think C) is correct because the code will print 1.
upvoted 0 times
...
Rossana
17 days ago
I disagree, I believe the answer is A) It results in a compile time error at line 18.
upvoted 0 times
...
Huey
20 days ago
I think the answer is C) It prints : 1
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