Let's think we have a list like this
int[] values = {1, 2, 3, 4, 5};
I want to delete an element of values by index. I mean, the programme will ask an index, if the input is 3, values' 4th index will be deleted.
I can't use ArrayLists 'cuz I'm writting a programme with 300 lines, and I don't want to convert all that Lists to ArrayList.