// package chapter5; /** * Title: Chapter 5, "Arrays" * Description: Examples for Chapter 2 * Copyright: Copyright (c) 2000 * Company: Armstrong Atlantic State University * @author Y. Daniel Liang * @version 1.0 */ // LinearSearch.java: Search for a number in a list public class LinearSearch { /**Main method*/ public static void main(String[] args) { int[] list = new int[10]; // Create the list randomly and display it System.out.print("The list is "); for (int i=0; i