Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package e2;
- import java.util.ArrayList;
- import java.util.Iterator;
- import java.util.List;
- public class main {
- public static void main(String[] args) {
- ArrayList<String> lista = new ArrayList<String>();
- lista.add("MANOLO");
- lista.add("PEPE");
- lista.add("PACO");
- TVRealityList<String> TV = new TVRealityList<String>(lista,true);
- for(String str : TV){
- System.out.println(str);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement