Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.LinkedList;
- import java.util.List;
- public class Separated {
- public static void main(String[] args) {
- final List<String> separatedSongList = new LinkedList<>();
- separatedSongList.add("Let's Kill This Love");
- separatedSongList.add("Fancy");
- separatedSongList.add("Peek A Boo");
- separatedSongList.add("La Vie En Rose");
- separatedSongList.add("I Am The Best");
- System.out.println("Separated Song List:");
- System.out.println(separatedSongList);
- final List<String> hardlyAList = new LinkedList<>();
- hardlyAList.add("Let's Kill This Love, Fancy, Peek A Boo, La Vie En Rose, I Am The Best");
- System.out.println("Unseparated Song List:");
- System.out.println(hardlyAList);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement