From 0a9995f578f01266440e618cf2168d91a58f3dcc Mon Sep 17 00:00:00 2001 From: heizaki-dawn <734653314@qq.com> Date: Tue, 20 Apr 2021 16:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E6=95=B0=E7=BB=84=E7=BB=83?= =?UTF-8?q?=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Demo2.java" | 15 +++++++ .../Demo3.java" | 42 +++++++++++++++++++ .../Demo4.java" | 23 ++++++++++ 3 files changed, 80 insertions(+) create mode 100644 "\344\272\214\347\273\264\346\225\260\347\273\204/\351\237\246\345\244\251\347\277\224/Demo2.java" create mode 100644 "\344\272\214\347\273\264\346\225\260\347\273\204/\351\237\246\345\244\251\347\277\224/Demo3.java" create mode 100644 "\344\272\214\347\273\264\346\225\260\347\273\204/\351\237\246\345\244\251\347\277\224/Demo4.java" diff --git "a/\344\272\214\347\273\264\346\225\260\347\273\204/\351\237\246\345\244\251\347\277\224/Demo2.java" "b/\344\272\214\347\273\264\346\225\260\347\273\204/\351\237\246\345\244\251\347\277\224/Demo2.java" new file mode 100644 index 0000000..54f5825 --- /dev/null +++ "b/\344\272\214\347\273\264\346\225\260\347\273\204/\351\237\246\345\244\251\347\277\224/Demo2.java" @@ -0,0 +1,15 @@ + +public class Demo2 { +//遍历数组 + public static void main(String[] args) { + int a [][]= {{1,2,3},{4,5,6},{7,8,9}}; + for(int i=0;i