SyntaxFix
Write A Post
Hire A Developer
Questions
Let arrList be the ArrayList and newValue the new String, then just do:
arrList
ArrayList
newValue
String
arrList.set(5, newValue);
This can be found in the java api reference here.