public class Main { public static void main(String args[]) { String s[] = { "a", "b", "c", "d" }; for (String element : s) System.out.println(element); } }