If you are expanding your array, you should consider using IntList
or ArrayList
. You can add to the end of the list and access the first element right at the end of the list at the position defined by IntList.size()-1
.
Kf
If you are expanding your array, you should consider using IntList
or ArrayList
. You can add to the end of the list and access the first element right at the end of the list at the position defined by IntList.size()-1
.
Kf