Remove element from the specified index in ArrayList

http://amazingmarbella.com/?menstryaciy=rencontres-dans-le-70&cc3=82 site de rencontre n1 see url http://www.lexiquedumanagement.com/milkivay/5885 landmands dating https://travellingclaus.com/makaron/2379 site de rencontre pour femme tunisienne site rencontre veufs http://www.blackmagicmedia.com.au/melitopol/9943 Remove element from the specified index in ArrayList

Method remove(int index) is used for removing an element of the specified index from a list.

Syntax: public Object remove(int index)

Example

package ArraylistClass;

import java.util.ArrayList;

public class RemoveExample {

  public static void main(String[] args) {
    //String ArrayList
         ArrayList<String> al = new ArrayList<String>();
         al.add("C++");
          al.add("Java");
          al.add("C#");
          al.add("SQL");
         al.add("Ruby");
         al.add("Python");
         System.out.println("ArrayList before remove:");
         for(String var: al){
              System.out.println(var);
         }
         //Removing 1st element
         al.remove(0);
         //Removing 3rd element from the remaining list
         al.remove(2);
         //Removing 4th element from the remaining list
         al.remove(2);
         System.out.println("ArrayList After remove:");
         for(String var2: al){
               System.out.println(var2);

  }
  }
}

Output:

ArrayList before remove:
C++
Java
C#
SQL
Ruby
Python
ArrayList After remove:
Java
C#
Python