Display(arr) gives error

It is asking to create display method.

@anjaliagrawal.04 This error could be bcoz you haven’t created any display function in your class.
add this function in your class.

public static void display(int[[] arr){
          for(int i=0; I<arr.length;i++){
            System.out.print(arr[i]+" ");
       }
          System.out.println();
}

For exact solution send me your code.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.