Advertisement
JeffGrigg

Untitled

Oct 7th, 2020
3,250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.63 KB | None | 0 0
  1. import java.util.*;
  2.  
  3. public class HandsOn {
  4.  
  5.     public static void main(String[] args) {
  6.         LinkedList<String> songs = new LinkedList<>();
  7.         songs.add("Let's Kill This Love");
  8.         songs.add("Fancy");
  9.         songs.add("Peek A Boo");
  10.         songs.add("La Vie En Rose");
  11.         songs.add("I Am The Best");
  12.         System.out.println(songs);
  13.  
  14.         LinkedList<String> artists = new LinkedList<>();
  15.         artists.add("Blackpink");
  16.         artists.add("Twice");
  17.         artists.add("Red Velvet");
  18.         artists.add("IZone");
  19.         artists.add("2NE1");
  20.         System.out.println(artists);
  21.     }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement