Error while doing arraysort problem

When I am doing this code, I am getting 1 error. The error is

“The method isSorted() in the type ArraySorted is not applicable for the arguments (int[], int)”.

I don’t know why I am getting this. Please guide.

please share your complete code by saving it on ide.codingblocks.com