Write a java method that takes an array of integers and uses a linear search algorithm to print the index of the element or print “Element Not Found” if the element is not in the array
Exercise 6: Write a java method that takes an array of integers and uses a linear search algorithm to print the index of the element or print “Element Not Found” if the elment is not in the array.