@@ -0,0 +1,357 @@
+public class Sumator %7B%0A%0A    public static int sumuj(int%5B%5D tablica) %7B%0A%0A        int suma = 0;%0A        for (int i = 1; i %3C tablica.length; i++)%0A            suma += tablica%5Bi%5D;%0A        return suma;%0A%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        int%5B%5D t = %7B0, 1, 2, 3%7D;%0A%0A        int s = Sumator.sumuj(t);%0A%0A        System.out.println(s);%0A%0A    %7D%0A%0A%7D%0A

add sumator