Why a string variable does not change when modified inside a function but a List does
599
Is Java "pass-by-reference" or "pass-by-value"?
56522
Why can't I use this code to overwrite a string?
18605
Local variables in nested functions
47412
Why swapping two values based on pointers don't work outside function scope?
35088
Is there a difference between an Array and a List in Apex?
33772
Is there any difference in equals and == for String variables?
110557
Weird list behavior in class
52303
Why is list when passed without ref to a function acting like passed with ref?
38747
Unexpected list behavior in Python
78499
How is Python's List Implemented?
4760
Modifying list while iterating
151869
What's the scope of a variable initialized in an if statement?
70909
Segmentation fault occurring when modifying a string using pointers?
129375
Why is list initialization (using curly braces) better than the alternatives?
1607
List of lists changes reflected across sublists unexpectedly
125985
Why does this const member function allow a member variable to be modified?
59951
Why does list.append evaluate to false in a boolean context?