Java Problem
Write a method that will compare the content of 2 arrays one-cell-at-a-time and will display either "The values match" or "The values don't match".
Assume that both lists have the same length and initialize them to the following values:
list1: 1 2 3 4 5 6 7 8
list2: 1 2 3 3 3 6 7 8
public static int similar (int[] list1, int[] list2)
Write a test program that calls the method .
The program should display something lik
The values match
The values match
The values match
The values don't match
The values don't match
The values match
The values match
The values match
The response should include a reference list. One-inch margins, Using Times New Roman 12 pnt font, double-space and APA style of writing and citations.