Skip to content

Instantly share code, notes, and snippets.

@affandes
Created March 14, 2020 14:27
Show Gist options
  • Save affandes/6b45892d0d4b9b11e318e6cd01584e21 to your computer and use it in GitHub Desktop.
Save affandes/6b45892d0d4b9b11e318e6cd01584e21 to your computer and use it in GitHub Desktop.
public class OcaJavaSe7Soal001 {
public static void main(String[] args) {
int[][] data = {
{1,0,2},
{2,1,0},
{0,2,1}
};
System.out.printf(
"%d %B %d",
data.length + 1,
data[1].getClass().isArray(),
data[1][1]++
);
}
}
@affandes
Copy link
Author

Initial commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment