/** * This week's inlab answer * The important class * Hunter * Lab */ import java.util.*; public class InLab { private int myArray[]; private final int SIZE = 10; InLab() { myArray = new int[SIZE]; Scanner input = new Scanner(System.in); System.out.println("Initialize " + SIZE + " elements for the array"); for(int i = 0; i myArray[i]) { if(i!=0) { secondSmallest = myArray[i]; System.out.println("Offset " + i + " secondsmallest " + secondSmallest); } } } System.out.println("The second smallest is " + secondSmallest); } public void partFour() { int sum = 0; for(int i=0; i= 0) System.out.println("Found " + search + " at index " + found); else System.out.println(search + " was not found in the array"); } public void partSix() { for(int i= 0; i