I am trying to solve a 2D array question using brute force, but when I run the code in my IDE it returns something in gibberish that I am not able to decode.
Question: https://leetcode.com/problems/flipping-an-image/
import java.util.*;
import java.io.*;
public class flippingAnImage {
    public static void main(String[] args){
        int[][] arr = {{1,1,0},{1,0,1},{0,0,0}};
        System.out.println(Arrays.toString(flip(arr)));
    }
    public static int[][] flip(int[][] image){
        for(int i = 0 ; i < image.length ; i++){
            for(int j = image[i].length-1,k=0 ; j>=0 && k < image[i].length;j--,k++){
                image[i][k] = image[i][j];
            }
        }
        return image;
    }
}
This is what it returns: [[I@5acf9800, [I@4617c264, [I@36baf30c]
Any help would be appreciated here
 
     
     
    