8.11 Correction exercice ArrayList
Hello we will make the correction Of the exercise So the first exercise that consists A creates an ArrayList named Language ... Then add strings Arraylist String as it is a string We call language Then you had to put PHP, ... java, c++ Python Language Java Then language add c++ language The last Here we are finished No and to finish ... you had to display The collection And there to display them you had to put on we will concatenate Language there on compile ... the program in the console you all language add in our list and that are displayed Then in the ... second part you had to add Pascale to the first positions so language.set( ) we will indicate the 0 decimal place and ... there we will put Pascale point-comma and to display it we will concatenate language then get index 0 on compile the ... program and index 0 we have Pascale and finally you had to create a program to recover the third element ... From an ArrayList we will make sure we will concatenate we will put the third element so we... will put 2 2 why given that we count of 0 1 2 and 2 will correspond to the third element ... we will compile the program we have the third element here if we count 0 1 2, I hope that ... you had passed this exercise in the next course we will see other list and perform a challenge so ... see you soon