necesito recorrer este array y no me sale
String[][] gastos = {{"Cafe","23/8/22","560$"},{"Coca","20/8/22","300$"},
{"Empanadas","10/8/22","800$"},{"Vino","15/8/22","700$"}};
for (int i = 0; i < gastos.length; i++) {
System.out.println(gastos[i]);
}
Necesitaría que la salida sea la siguiente:
Cafe 23/8/22 560$,
Coca 20/8/22 300$,
Empanadas 10/8/22 800$