Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestLog {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- int[][] tab;
- tab = new int[2][3];
- for (int i = 0; i < tab.length; i++) {
- for (int j = 0; i < tab[i].length; i++) {
- tab[i][j] = 1;
- }
- }
- afficheTab(tab);
- }
- public static void afficheTab(int[][] tab) {
- for (int i = 0; i < tab.length; i++) {
- for (int j = 0; i < tab[i].length; i++) {
- System.out.println(tab[i][j]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement