import java.util.*; class UseArrays18 // Demonstrates a method which returns the largest integer in an array. // The method is implemented using recursion which is not tail recursion. { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter some numbers (all on one line, separated by spaces):"); String line = input.nextLine(); String[] numbers = line.split(" +"); int[] a = new int[numbers.length]; for(int i=0; ibiggestOfRest) return a[from]; else return biggestOfRest; } } }