Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1.  
  2. import java.util.*;
  3.  
  4. public class Main
  5. {
  6.     public static void main(String[] args)
  7.     {
  8.         List<Integer> liczby = new ArrayList<>();
  9.        
  10.         liczby.add(11);
  11.         liczby.add(22);
  12.         liczby.add(33);
  13.        
  14.         for (Integer liczba : liczby)
  15.         {
  16.             System.out.println("LICZBA = " + liczba);
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement