What is the result? Given the code fragment: What is the result? Given the code fragment: What is the result? A. true false B. false false C. true true D. false true Show Hint ← Previous question Next question →
cris i tested it with netNeans and the resul is “true true” Reply Vasily You are wrong. str.trim() does not change the str without the explicit assignment: str = str.trim() Reply
Vasily You are wrong. str.trim() does not change the str without the explicit assignment: str = str.trim() Reply
C.
true true
B.
false false
The correct answers is
B.
false false
My firt comment is an error
Correct answer is B
false false.
i tested it with netNeans and the resul is “true true”
You are wrong. str.trim() does not change the str without the explicit assignment: str = str.trim()
Answer: B
Tested
b
tested on Netbeans and the answer is indeed
false false