Write a Java program, called LinearSearchTwo that contains a static method called findElement() that accepts a 2D char array and a char as its parameters and return a boolean value if the char is contained in the 2D char array. The array and search value should be taken in using user input. You should print an appropriate message to the screen if the element is found.
Input:
n mi mi+1 mi+2 ... mi+n x, where n is the length of the array, mi is an element in the array and x is the element that is being searched for.
Output:
A message stating if the element is found.
Sample Output 1:
.. was found in the array
Sample Output 2:
.. was NOT found in the array