//using for-each loop System.out.println(" Using for-each loop "); for (String str : arrlist) { System.out.println(str); }