SyntaxFix
Write A Post
Hire A Developer
Questions
Cause they're not equal, ie: they're different arrays with equal elements inside.
Try using Arrays.equals() or Arrays.deepEquals().
Arrays.equals()
Arrays.deepEquals()