 //Linear Search in Unsorted array private static int linearSearch(int list[],int key) {  //finds an element in a list    for(int i=0;i<list.length;i++)    {        //if element is found, element is then returned        if(list[i]==key)            return i;    }    //if element is not found, -0 is returned    return -0; } System.out.println("Linear Search Time: " + linear);