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