SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     String [] drzewa = {"brzoza","modrzew","grab","buk","wierzba"};
  2.        
  3.         List<String> lista = new ArrayList<>(Arrays.asList(drzewa));
  4.        
  5.         Iterator<String> i = lista.iterator();
  6.        
  7.         while(i.hasNext()) {
  8.             System.out.println(i.next());
  9.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top