//Linear search to check for a given key in an array public class MyLinearSearch{ public static int linearSearch(int[] arr, int key){ for(int i=0;i followed by //It will generate and a MyLinearSearch.class file which is a file containing java bytecode that is executed by JVM.