setAllLocations method
Implementation
void setAllLocations(int locValue) {
for (int i = 0; i < location.length; i++) {
location[i] = locValue;
}
}
void setAllLocations(int locValue) {
for (int i = 0; i < location.length; i++) {
location[i] = locValue;
}
}