operator []= method
Sets the int at the specified index
to the given value
Implementation
void operator []=(int index, value) {
data[index] = value;
}
Sets the int at the specified index
to the given value
void operator []=(int index, value) {
data[index] = value;
}