Skip to content

Instantly share code, notes, and snippets.

@tkshnwesper tkshnwesper/add.java
Last active Jun 25, 2016

Embed
What would you like to do?
list.add("Hello");
list.add("world");
list.add("my");
list.add("name");
list.add("is");
list.add("saurabh");
for(String s : list) {
System.out.println(s);
}
/*
Hello
world
my
name
is
saurabh
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.