Skip to content

Instantly share code, notes, and snippets.

@ramadani
Created April 7, 2017 09:04
Show Gist options
  • Save ramadani/8c652b8cc10374067ebef1f325ce48b5 to your computer and use it in GitHub Desktop.
Save ramadani/8c652b8cc10374067ebef1f325ce48b5 to your computer and use it in GitHub Desktop.
Javan Array Study Case 16
public void case16() {
ArrayList<String> users = new ArrayList<String>(Arrays.asList("Asep Dadang Supriadi", "Akmal Fuady",
"Yandi Fitriyanto"));
String usersNew = "Ricky Andika Putra";
users.add(usersNew);
System.out.println(users.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment