So say I have a string like "ABC", is there any possible way for me to pull out these characters individually and assign values to those as if they were a variable name?
For instances
String temp = "ABC"; //temp.charAt(1) being 'B' and assigning 5 to
int temp.charAt(1) = 5; //the variable name 'B'
Obviously that syntax is no where near correct, I'm just using it to explain what I'm trying to achieve.
Is this even a possible thought? Sorry for the trivial question, I'm fairly new to java.