Skip to content
Snippets Groups Projects
MainLinkedListPersoRemoveFirstValue.java 378 B
Newer Older
package p4a;

public class MainLinkedListPersoRemoveFirstValue {
	public static void main(String[] args) {
		ArrayListPerso<Integer> arrayList = new ArrayListPerso<Integer>();
		int nbOperation = Integer.parseInt(args[0]);
		
		for (int i = 0; i < nbOperation; i++) {
			arrayList.ajout(0, i);
		}
		for (int i = 0; i < nbOperation; i++) {
			arrayList.suppression(0);
		}
	}
}