System.out.println (""+product);
product
is the name of a two-dimensional array, but the
println()
function has no way of knowing how to print its contents, so it treats the address as an integer value and prints that. You need to write a loop to print each individual element of the array in whatever form and format you require.