0

What is mean by s:c in these code?

LinkedList<String> c = new LinkedList<String>(); c.add("Red"); c.add("Blue"); c.add("Green"); c.add("Orange"); c.remove("Green"); for(String s: c) { System.out.println(s); }

22nd Jul 2019, 4:18 AM
Sudhir Ghagare
Sudhir Ghagare - avatar
1 Réponse