Perhaps this is basic, but I am not quite sure I understand what is happening here: public static void main(String[] args) throws Exception { int[] array = initializeArray(); int max = max(array); System.out.println(max); Is this instantiating an array object and immediately having it call the initializeArray method?