Hello, How to put or connect list from getListaLiczbCalkowitych to getMinimum? Some people write somthing like this: int min=array.get(0); for(int b=1;b<array.size();b++) { if(array.get(b)<min){ min=array.get(b); } } return min; They use array.get() but how it know is the array is from getListaLiczbCalkowitych ? I tried write like this, but i don't know it is correct. It finally didn't worked. ArrayList<Integer> lista2 = new ArrayList<>(lista); Can someone explain me this a little? :)