import java.util.*;
import java.lang.*;
class Main
{
{
String[][] array
= {{"0",
"0",
"0"},
{"0",
"0",
"0"},
{"0",
"0",
"0"}};
System.
out.
println("Before: "); printArray(array);
array[0][0] = "x";
System.
out.
println("After: "); printArray(array);
}
private static void printArray
(String[][] array
){ for(int i=0; i<array.length; i++){
for(int j=0; j<array[0].length; j++){
System.
out.
print(array
[i
][j
]); }
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN0cmluZ1tdW10gYXJyYXkgPSB7eyIwIiwiMCIsIjAifSx7IjAiLCIwIiwiMCJ9LHsiMCIsIjAiLCIwIn19OwoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbigiQmVmb3JlOiAiKTsKCQlwcmludEFycmF5KGFycmF5KTsKCQkKCQkKCQlhcnJheVswXVswXSA9ICJ4IjsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIkFmdGVyOiAiKTsKCQlwcmludEFycmF5KGFycmF5KTsKCQkJCgl9CgoJcHJpdmF0ZSBzdGF0aWMgdm9pZCBwcmludEFycmF5KFN0cmluZ1tdW10gYXJyYXkpewoJCWZvcihpbnQgaT0wOyBpPGFycmF5Lmxlbmd0aDsgaSsrKXsKCQkJZm9yKGludCBqPTA7IGo8YXJyYXlbMF0ubGVuZ3RoOyBqKyspewoJCQkJU3lzdGVtLm91dC5wcmludChhcnJheVtpXVtqXSk7CgkJCX0KCQkJU3lzdGVtLm91dC5wcmludGxuKCIiKTsJCQoJCX0KCX0KfQ==