Created
April 7, 2017 09:06
-
-
Save ramadani/a36eca6576cd672130d0b1d9b716f65f to your computer and use it in GitHub Desktop.
Javan Array Study Case 17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void case17() { | |
ArrayList<String> users = new ArrayList<String>(Arrays.asList("Asep Dadang Supriadi", "Akmal Fuady", | |
"Yandi Fitriyanto")); | |
String usersNew = "Ricky Andika Putra"; | |
users.add(0, usersNew); | |
System.out.println(users.toString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment