exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 91 discussion

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

Given:

And given the code fragment:
and this output:

Canine 60 Long -

Feline 80 Short -
Which two modifications enable the code to print this output? (Choose two.)

  • A. . Replace line n1 with:
  • B. Replace line n1 with:
  • C. Replace line n2 with:
  • D. Replace line n1 with:
  • E. Replace line n2 with:
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
MPignaProTech
3 months ago
Selected Answer: AE
A and E are correct
upvoted 1 times
...
DarGrin
1 year, 3 months ago
Selected Answer: AE
A and E are correct
upvoted 1 times
...
CreazyyyyGirl
1 year, 10 months ago
Selected Answer: AE
Answer is A,E
upvoted 1 times
...
iSnover
2 years, 3 months ago
Selected Answer: AE
The correct ones are A and E, you can eliminate the other options just for the syntax error. It is a question that does not need a complex analysis. Always the "super()" or "super(var, var)" must come before "this" and it must be written "this.var = var;" anything outside of these other than instantiating by the class like "Animal.type t = type;" instead of the correct syntax of this is wrong.
upvoted 3 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