Remove element from linked list

packagejavaRadarLinkedList; importjava.util.LinkedList; public class RemoveAtIndex {       public static void main(String[] args) {             //create Array List             LinkedList<String> javaRadarList = newLinkedList<String>();             //Add elements to ArrayList             javaRadarList.add(“Java”);             javaRadarList.add(“Jquery”);             javaRadarList.add(“Spring”);             javaRadarList.add(“Hibernate”);             javaRadarList.add(“EJB”);                         System.out.println(“Before

Remove element from array list

packagejavaRadarArrayList; importjava.util.ArrayList; public class RemoveAtIndex {       public static void main(String[] args) {             //create Array List             ArrayList<String> javaRadarList = newArrayList<String>();             //Add elements to ArrayList             javaRadarList.add(“Java”);             javaRadarList.add(“Jquery”);             javaRadarList.add(“Spring”);             javaRadarList.add(“Hibernate”);             javaRadarList.add(“EJB”);                         System.out.println(“Before