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-819 Topic 8 Question 88 Discussion

Actual exam question for Oracle's 1Z0-819 exam
Question #: 88
Topic #: 8
[All 1Z0-819 Questions]

Given:

and

Which two method definitions at line n1 in the Bar class compile? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: C, F

Contribute your Thoughts:

Tuyet
2 days ago
Haha, whoever came up with these options is trying to trick us. I'm just going to guess and hope for the best.
upvoted 0 times
...
Lonna
5 days ago
I think options A and E will compile because they both use the correct parameter types.
upvoted 0 times
...
Georgene
9 days ago
Wait, isn't D also correct? Object is a supertype of Integer, so that should compile too.
upvoted 0 times
...
Marilynn
10 days ago
The correct answer has to be B and E. The method signature has to use a covariant return type and the parameter type has to be a supertype or subtype of the declared type.
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