Question DSA-STR-0005
EasyAre Python and Java strings mutable?
- A.
No, they are immutable: operations create new strings
- B.
Only Python strings are mutable
- C.
Show answer and explanation
Answer: A
Methods like replace or upper return new strings; the original is unchanged.