0 votes
50 views
asked in JAVA by
Hi

 How to swap ArrayList<> in java?

1 Answer

0 votes
answered by (8.2k points)
edited by

Hi Lyon

import java.util.Collections;

 Collections.swap(ArrayList, 0,1);

Categories

...