Add new item to ArrayList question

edited November 2017 in How To...

Hello, people. For example I have ArrayList with ten elements, and I have one new element. And I want to add that new element to the List, but I need to place it not in the end of the List, but for example between 5 and 6 element. So, my new element should become number 6, number 6 should become number 7 and so on.. How to do that?

Answers

Sign In or Register to comment.