1: public class ToolsTest 2: { 3: public static void main(String[] args) 4: { 5: int[] myList = {25, 50, 75, 100, 125, 150, 175, 200, 225, 250}; 6: Tools myTool = new Tools(); 7: 8: System.out.println("Searching for 100.......\n"); 9: int result = myTool.linearSearch(myList, 100); 10: 11: if(result >= 0) 12: System.out.println("Located value at position " + result); 13: else 14: System.out.println("Could not find value."); 15: } 16: }