@@ -0,0 +1,879 @@
+package ru.stqa.ol.sandbox;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0A/**%0A * Created by OL A546902 on 2016-11-17.%0A */%0Apublic class Collections %7B%0A  public static void main(String%5B%5D args) %7B%0A%0A    String%5B%5D langs = %7B%22Java%22, %22C#%22, %22Python%22, %22PHP%22%7D;  // ili tak: langs%5B0%5D = %22Java%22; langs%5B1%5D = %22C#%22;%0A    for (String l : langs) %7B    //ili for (int i = 0; i %3C langs.length; i++ )%0A      System.out.println(%22i want to learn %22 + l);%0A    %7D%0A    System.out.println(%22 %22);%0A%0A    List%3CString%3E languages = Arrays.asList(%22Java%22, %22C#%22, %22Python%22, %22PHP%22);  // esli proizvol'nii tip: List languages = Arrays.asList(%22Java%22, %22C#%22, %22Python%22, %22PHP%22); togda: for (Object l : languages)%0A%0A    /* ili List%3CString%3E languages = new ArrayList%3CString%3E();%0A    languages.add(%22Java%22);%0A    languages.add(%22C#%22); etc*/%0A%0A    for (String l : languages) %7B%0A      System.out.println(%22i want to learn %22 + l);%0A    %7D%0A  %7D%0A%7D%0A

l4_m2