I have a String Array called copy. I want to check if copy[0] matches with copy[2] and copy[3]. If it matches, then print something.
I tried using IF statements but i keep getting errors.
public static void main(String[] args) {
String[] copy = {"1","2","1","1","5","6","7","8","9"};
}