java program that enters an amount of number to an array code example Example: how to find the largest integer in java int a = Integer.MAX_VALUE;