write a java program to find the greatest nmber in given list code example Example: how to find the largest integer in java int a = Integer.MAX_VALUE;