The task I do on this link: Lesson 2. Methods . And the eclipse cursed that the variable x was out of sight! Explain, please, what the focus is.
package MyPack; public class MyClass { /** * @param args */ public static void main(String[] args) { int[] x = {56, 89, 31, 600, 131, 14, 3}; System.out.println(Matrix()); } static int Matrix() { for(int i = 0; i < x.length; i++) { /*ΡΠΈΠΊΠ» ΡΠ²Π΅Π»ΠΈΡΠΈΠ²Π°Π΅Ρ Π·Π½Π°ΡΠΈΠ½ΠΈΡ ΠΌΠ°ΡΡΠΈΠ²Π° Π½Π° 10 ΠΏΡΠΎΡΠ΅Π½ΡΠΎΠ² */ x[i] = (x[i]/100)*10 + x[i]; return x[i]; } } }