So I have an array and trying to print what was input to the scanner. I'm trying to print the matrix that was input. Heres the code, what am I doing wrong here? I tried to print just graph, doesn't work.
/** Accept number of vertices **/
    System.out.println("Enter number of vertices\n");
    int V = input.nextInt();
    /** get graph **/
    System.out.println("\nEnter matrix\n");
    int[][] graph = new int[V][V];
    for (int i = 0; i < V; i++)
        for (int j = 0; j < V; j++)
            graph[i][j] = input.nextInt();
            System.out.print(graph);
 
     
     
     
    