Traverse linked list using enumeration

packagejavaRadarLinkedList; importjava.util.Collections; importjava.util.Enumeration; importjava.util.LinkedList; public classEnumerationTraversal {       public static void main(String[] args) {             //create Linked List             LinkedList<String> javaRadarList = newLinkedList<String>();             //Add elements to LinkedList             javaRadarList.add(“Java”);             javaRadarList.add(“Jquery”);             javaRadarList.add(“Spring”);             javaRadarList.add(“Hibernate”);             javaRadarList.add(“EJB”);             //creating

Traverse Linked list using iterator

packagejavaRadarLinkedList; importjava.util.Iterator; importjava.util.LinkedList; public class ItrTraversal {       public static void main(String[] args) {             //create Linked List             LinkedList<String> javaRadarList = newLinkedList<String>();             //Add elements to LinkedList             javaRadarList.add(“Java”);             javaRadarList.add(“Jquery”);             javaRadarList.add(“Spring”);             javaRadarList.add(“Hibernate”);             javaRadarList.add(“EJB”);             //creating