exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 12 discussion

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

Given:

What is the result?

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

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
v323rs
Highly Voted 4 years, 11 months ago
The correct answer C. "A B C C", because ta.replace('C', 'D') dot't change ta
upvoted 39 times
...
hyodaeun
Highly Voted 5 years, 10 months ago
Answer is C
upvoted 18 times
...
lakshman_rlr
Most Recent 2 months, 3 weeks ago
The Output is "A" , Since strings are immutable so the ta will not be reassigned throught the excution
upvoted 1 times
...
fvelazqueznava
1 year, 1 month ago
ABCC is the correct
upvoted 5 times
...
Skytrix
1 year, 2 months ago
The correct answer is ABCC
upvoted 5 times
...
3Apr
1 year, 2 months ago
None of this option are correct, replace doesn't modify ta, so basically the final output will be A B C C, if it was ta = ta.replace('C','D') it would be A B D C so C would be correct
upvoted 5 times
...
DarGrin
1 year, 2 months ago
Selected Answer: C
The correct answer ist "A B C C". There is now correct answere hier...
upvoted 3 times
...
sscm
1 year, 2 months ago
None of the option are correct
upvoted 2 times
...
a_really_reliable_programmer
1 year, 3 months ago
No Solution (On the website) A B C C String is immutable (Not string builder)
upvoted 2 times
...
somrita90
1 year, 3 months ago
ABCC is the correct answer, String is immutable, until and unless its assigning or reassigning, it will not change the value.
upvoted 1 times
...
Sreeni_A
1 year, 3 months ago
None of the options are correct and the Answer is A B C C and there is no option in the provided answers
upvoted 2 times
...
pbbvr
1 year, 4 months ago
A B C C
upvoted 1 times
...
dsms
1 year, 4 months ago
why did the answer option C: ABCC change to ACDD??? Yesterday option C: contained the correct answer, today it has changed to another one and it turns out that there is no correct answer among the answer options.
upvoted 2 times
...
mbns
1 year, 4 months ago
None of the choices is true. The true answer is ABCC. String cannot be changed and ta.replace('C', 'D') make no sense
upvoted 3 times
...
zyl41
1 year, 5 months ago
none of the options given are correct
upvoted 2 times
...
tuyetan
1 year, 6 months ago
A B C C
upvoted 3 times
...
felipegomeztreufo
1 year, 6 months ago
he correct answer is A B C C, the string class is immutable
upvoted 2 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