From 707d8b21e5fe1963f4e3e702228f60558e825c8e Mon Sep 17 00:00:00 2001 From: Fan-0501 Date: Fri, 19 Apr 2024 17:10:08 +0800 Subject: [PATCH 1/6] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Student.java" | 44 +++++++++++++++++++ .../StudentMain.java" | 31 +++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" new file mode 100644 index 00000000..b6e13926 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" @@ -0,0 +1,44 @@ +package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; + +public class Student { + public static int num = 7; + int id; + String name; + int age; + String sex; + + public void id() { + } + + public void name() { + } + + public void age() { + } + + public void sex() { + } + + public void running() { + System.out.println(name + "正在跑步"); + } + + public void eat() { + System.out.println(name + "正在吃饭"); + } + + public void sleep() { + System.out.println(name + "正在睡觉"); + } + + @Override + public String toString() { + return "Student{" + + "id=" + id + + ", name='" + name + '\'' + + ", age=" + age + + ", sex='" + sex + '\'' + + '}'; + } + +} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" new file mode 100644 index 00000000..50fcaa88 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" @@ -0,0 +1,31 @@ +package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; + +public class StudentMain { + public static void main(String[] args) { + int[] arr = new int[3]; + Student student1 = new Student(); + student1.id = 1; + student1.name = "张三"; + student1.age = 21; + student1.sex = "男"; + System.out.println(student1); + student1.eat(); + + Student student2 = new Student(); + student2.id = 2; + student2.name = "李四"; + student2.age = 25; + student2.sex = "女"; + System.out.println(student2); + student2.running(); + + Student student3 = new Student(); + student3.id = 2; + student3.name = "李四"; + student3.age = 25; + student3.sex = "女"; + System.out.println(student3); + student3.sleep(); + + } +} -- Gitee From cf2761aa6a5324801717db5fe70fcb4d55142f2f Mon Sep 17 00:00:00 2001 From: Fan-0501 Date: Fri, 19 Apr 2024 09:11:26 +0000 Subject: [PATCH 2/6] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20work?= =?UTF-8?q?/com/java/minxi/java=5F20240418?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Student.java" | 44 ------------------- .../StudentMain.java" | 31 ------------- .../MainTest.java" | 4 -- 3 files changed, 79 deletions(-) delete mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" delete mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" delete mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" deleted file mode 100644 index b6e13926..00000000 --- "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" +++ /dev/null @@ -1,44 +0,0 @@ -package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; - -public class Student { - public static int num = 7; - int id; - String name; - int age; - String sex; - - public void id() { - } - - public void name() { - } - - public void age() { - } - - public void sex() { - } - - public void running() { - System.out.println(name + "正在跑步"); - } - - public void eat() { - System.out.println(name + "正在吃饭"); - } - - public void sleep() { - System.out.println(name + "正在睡觉"); - } - - @Override - public String toString() { - return "Student{" + - "id=" + id + - ", name='" + name + '\'' + - ", age=" + age + - ", sex='" + sex + '\'' + - '}'; - } - -} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" deleted file mode 100644 index 50fcaa88..00000000 --- "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" +++ /dev/null @@ -1,31 +0,0 @@ -package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; - -public class StudentMain { - public static void main(String[] args) { - int[] arr = new int[3]; - Student student1 = new Student(); - student1.id = 1; - student1.name = "张三"; - student1.age = 21; - student1.sex = "男"; - System.out.println(student1); - student1.eat(); - - Student student2 = new Student(); - student2.id = 2; - student2.name = "李四"; - student2.age = 25; - student2.sex = "女"; - System.out.println(student2); - student2.running(); - - Student student3 = new Student(); - student3.id = 2; - student3.name = "李四"; - student3.age = 25; - student3.sex = "女"; - System.out.println(student3); - student3.sleep(); - - } -} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" deleted file mode 100644 index d9f5f9c1..00000000 --- "a/work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" +++ /dev/null @@ -1,4 +0,0 @@ -package com.java.minxi.java_20240418.java_2301_张三_2344000000; - -public class MainTest { -} -- Gitee From f5951fd2ea9d3389dd0154958c349467b480b0b9 Mon Sep 17 00:00:00 2001 From: Fan-0501 Date: Fri, 19 Apr 2024 17:42:02 +0800 Subject: [PATCH 3/6] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MainTest.java" | 4 -- .../Student.java" | 43 +++++++++++++++++++ .../StudentMain.java" | 32 ++++++++++++++ 3 files changed, 75 insertions(+), 4 deletions(-) delete mode 100644 "work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" diff --git "a/work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" "b/work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" deleted file mode 100644 index e3e07229..00000000 --- "a/work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" +++ /dev/null @@ -1,4 +0,0 @@ -package com.java.minxi.java_20240415.java_2301_张三_2344000000; - -public class MainTest { -} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" new file mode 100644 index 00000000..902158a9 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" @@ -0,0 +1,43 @@ +package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; + +public class Student { + public static int num = 7; + int id; + String name; + int age; + String sex; + + public void id() { + } + + public void name() { + } + + public void age() { + } + + public void sex() { + } + + public void running() { + System.out.println(name + "正在跑步"); + } + + public void eat() { + System.out.println(name + "正在吃饭"); + } + + public void sleep() { + System.out.println(name + "正在睡觉"); + } + +// @Override +// public String toString() { +// return "Student{" + +// "id=" + id + +// ", name='" + name + '\'' + +// ", age=" + age + +// ", sex='" + sex + '\'' + +// '}'; +// } +} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" new file mode 100644 index 00000000..7ae2ff02 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" @@ -0,0 +1,32 @@ +package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; + +public class StudentMain { + public static void main(String[] args) { + int[] arr = new int[3]; + Student student1 = new Student(); + student1.id = 1; + student1.name = "张三"; + student1.age = 21; + student1.sex = "男"; + //System.out.println(student1); + student1.eat(); + + Student student2 = new Student(); + student2.id = 2; + student2.name = "李四"; + student2.age = 25; + student2.sex = "女"; + //System.out.println(student2); + student2.running(); + + Student student3 = new Student(); + student3.id = 2; + student3.name = "李四"; + student3.age = 25; + student3.sex = "女"; + //System.out.println(student3); + student3.sleep(); + + } + +} -- Gitee From ec8a96ba9e13aea956ff43070531e5c3dd3d67be Mon Sep 17 00:00:00 2001 From: Fan-0501 Date: Fri, 19 Apr 2024 17:46:21 +0800 Subject: [PATCH 4/6] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Student.java" | 43 ------------------- .../StudentMain.java" | 32 -------------- 2 files changed, 75 deletions(-) delete mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" delete mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" deleted file mode 100644 index 902158a9..00000000 --- "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/Student.java" +++ /dev/null @@ -1,43 +0,0 @@ -package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; - -public class Student { - public static int num = 7; - int id; - String name; - int age; - String sex; - - public void id() { - } - - public void name() { - } - - public void age() { - } - - public void sex() { - } - - public void running() { - System.out.println(name + "正在跑步"); - } - - public void eat() { - System.out.println(name + "正在吃饭"); - } - - public void sleep() { - System.out.println(name + "正在睡觉"); - } - -// @Override -// public String toString() { -// return "Student{" + -// "id=" + id + -// ", name='" + name + '\'' + -// ", age=" + age + -// ", sex='" + sex + '\'' + -// '}'; -// } -} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" deleted file mode 100644 index 7ae2ff02..00000000 --- "a/work/com/java/minxi/java_20240418/java_2301_\345\207\241\345\205\211\344\271\220_2344310103/StudentMain.java" +++ /dev/null @@ -1,32 +0,0 @@ -package com.java.minxi.java_20240418.java_2301_凡光乐_2344310103; - -public class StudentMain { - public static void main(String[] args) { - int[] arr = new int[3]; - Student student1 = new Student(); - student1.id = 1; - student1.name = "张三"; - student1.age = 21; - student1.sex = "男"; - //System.out.println(student1); - student1.eat(); - - Student student2 = new Student(); - student2.id = 2; - student2.name = "李四"; - student2.age = 25; - student2.sex = "女"; - //System.out.println(student2); - student2.running(); - - Student student3 = new Student(); - student3.id = 2; - student3.name = "李四"; - student3.age = 25; - student3.sex = "女"; - //System.out.println(student3); - student3.sleep(); - - } - -} -- Gitee From 99c944e9745972c065099413cc68ad0a9e660cc9 Mon Sep 17 00:00:00 2001 From: Fan-0501 Date: Fri, 19 Apr 2024 18:36:21 +0800 Subject: [PATCH 5/6] =?UTF-8?q?feat:=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MainTest.java" | 4 ++++ .../MainTest.java" | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 "work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" diff --git "a/work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" "b/work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" new file mode 100644 index 00000000..e3e07229 --- /dev/null +++ "b/work/com/java/minxi/java_20240415/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" @@ -0,0 +1,4 @@ +package com.java.minxi.java_20240415.java_2301_张三_2344000000; + +public class MainTest { +} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" "b/work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" new file mode 100644 index 00000000..d9f5f9c1 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\345\274\240\344\270\211_2344000000/MainTest.java" @@ -0,0 +1,4 @@ +package com.java.minxi.java_20240418.java_2301_张三_2344000000; + +public class MainTest { +} -- Gitee From 68f0f472d80ed1a0aaff12264fef1f909310509e Mon Sep 17 00:00:00 2001 From: LuoZhouYi <2108439463@qq.com> Date: Fri, 19 Apr 2024 21:58:52 +0800 Subject: [PATCH 6/6] =?UTF-8?q?feat:"=E5=89=8D=E6=9C=89=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=EF=BC=8C=E6=95=AC=E8=AF=B7=E8=A7=81=E8=AF=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Student.java" | 16 ++++++++++ .../StudentMain.java" | 29 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/Student.java" create mode 100644 "work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/StudentMain.java" diff --git "a/work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/Student.java" "b/work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/Student.java" new file mode 100644 index 00000000..a4bc8565 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/Student.java" @@ -0,0 +1,16 @@ +package com.java.minxi.java_20240418.java_2301_罗周熠_2344310113; + +public class Student { + int id; + String name; + int age; + String sex; + + public void eat(){ + System.out.println(name+"在吃饭");} + public void running(){ + System.out.println(name+"在跑步");} + public void sleep(){ + System.out.println(name+"在睡觉"); + } +} diff --git "a/work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/StudentMain.java" "b/work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/StudentMain.java" new file mode 100644 index 00000000..44a48f20 --- /dev/null +++ "b/work/com/java/minxi/java_20240418/java_2301_\347\275\227\345\221\250\347\206\240_2344310113/StudentMain.java" @@ -0,0 +1,29 @@ +package com.java.minxi.java_20240418.java_2301_罗周熠_2344310113; + +public class StudentMain { + public static void main(String[] args) { + Student student1=new Student(); + student1.id=1; + student1.name="张三"; + student1.age=21; + student1.sex="男"; + + student1.eat(); + + Student student2=new Student(); + student2.id=2; + student2.name="李四"; + student2.age=25; + student2.sex=" 男"; + + student2.running(); + + Student student3=new Student(); + student3.id=3; + student3.name="王丽"; + student3.age=19; + student3.sex="女"; + + student3.sleep(); + } +} -- Gitee