Write a Java program that takes an integer array and a target number X as input. The program should find and print all the numbers in the array that appear before the first occurrence of X in the ...