get first largest number in the array in java code example Example: how to find the largest integer in java int a = Integer.MAX_VALUE;