using for each loop in linked list code example
Example: iterate trough linked list java
#Enhances For Loop
for (String temp : linkedList) {
System.out.println(temp);
}
#Enhances For Loop
for (String temp : linkedList) {
System.out.println(temp);
}