exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 65 discussion

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

Given the following class declarations:
✑ public abstract class Animal
✑ public interface Hunter
✑ public class Cat extends Animal implements Hunter
✑ public class Tiger extends Cat
Which answer fails to compile?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
  • E. Option E
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Mamlouk_Med
Highly Voted 4 years, 9 months ago
correct answer is D the cat class doesn't extended by tiger
upvoted 29 times
...
pawankalyan
Highly Voted 4 years, 6 months ago
correct answer is D
upvoted 9 times
...
mesonjesi
Most Recent 1 month ago
correct answer is D
upvoted 1 times
...
somrita90
3 months, 2 weeks ago
D is the answer because Tiger is child class of Cat, generic type is Tiger, they are trying to add Cat object
upvoted 1 times
...
sina_
4 months, 3 weeks ago
A is correct answer at D: reference object of Tiger and make object of Cat but {Class Tiger extands Cat} Tiger Is a Cat and Cat is Animal that has a Hunter and E because of "ArratLIst"
upvoted 1 times
...
tuyetan
6 months, 1 week ago
D if no shuffling of order of options :))
upvoted 1 times
...
Kolodets
7 months, 3 weeks ago
Cat is not necessarily a Tiger and therefore doesn't extend Tiger => D
upvoted 1 times
...
Vicky_65
8 months, 2 weeks ago
Selected Answer: D
D is correct.Because can;t able to add parent object in child list.
upvoted 1 times
...
shivkumarx
1 year, 3 months ago
Answer is D E must be a typo - it compiles otherwise
upvoted 1 times
...
DiamondWhite
1 year, 4 months ago
Selected Answer: D
Maybe they chose E because there is a typo.. List is spelled as LIst..
upvoted 1 times
...
hexadecimal82
1 year, 5 months ago
D and E
upvoted 1 times
...
archer1903
1 year, 6 months ago
Selected Answer: D
correct answer is D
upvoted 1 times
...
MintyUikey
1 year, 8 months ago
This is the explanation I got for option E, Found it silly though :- "Look at the right side of the declaration ArrayLIst() rather than ArrayList "
upvoted 4 times
...
HersNo
1 year, 11 months ago
Correct answer is D,E. why E , because ArrayList() but not ArrayLIst()
upvoted 1 times
...
admin8
1 year, 12 months ago
Answer is D!!!!
upvoted 1 times
...
JongHwa
2 years ago
Selected Answer: D
DDDD is correct
upvoted 1 times
Kolodets
7 months, 3 weeks ago
yes agree
upvoted 1 times
...
...
brianhuang881215
2 years, 3 months ago
E is an indecisive answer
upvoted 1 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