you could use a basic looping statement to find the maximum value
<pre>class Biggest
{
public static void main(String args[])
{
int[] arr = {1,2,3,4,5,6,7,8,9};
int currentBiggestNo= Integer.MIN_VALUE;
for(int number:arr)
{
if(number>currentBiggestNo)currentBiggestNo=number;
}
System.out.println(currentBiggestNo);
}
}