Java Code Is not Run compair


Current behavior:

Desired behavior

Repl link:

code snippet

Hey @rohit6200e, welcome to the community!

Thank you for your post and sorry that you are experiencing issues however, the Replit support team may not be able to help you with this issue if you do not complete the template fields fully.

Without knowing the expected and actual behavior (screenshots are fine for this section) as well as the link to your Repl, and the steps a member of the support team will need to follow to reproduce the error, there won’t be much we can do to help you.

The more information you provide at the start, the easier it will be to help you.

I’m supposing you’re asking yourself why your Java code isn’t working properly? It gives me an error at line 9 in I think you mistakenly wrote soet instead of sort, in Arrays.soet(arr);