1.Use the == operator
2.Use the .equals() method
3.Use Arrays.equals() method
4.Compare each element one by one
Answer:3