main.java
/*Alexander Papachristu
     *print the inputted array
     */
Alexander Papachristu
print the inputted array
Alexander Papachristu print the inputted array
public void printArray(int arr[])
    {
        for(int i = 0; i < arr.length; i++)
            System.out.print(arr[i] + " ");
        System.out.println();
    }
public void printArray ( int arr [ ] ) { for ( int i = 0 ; i < arr . length ; i ++ ) System . out . print ( arr [ i ] + " " ) ; System . out . println ( ) ; }
Alexander Papachristu
print the inputted array
Alexander Papachristu print the inputted array