commit 2a4e6c0758395fac0e2dd0ac4095d89b72ca357d
Author: chentaisen <14615430+chentaisen@user.noreply.gitee.com>
Date: Thu Aug 8 09:27:15 2024 +0800
day19日考
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5ff6309
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,38 @@
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### IntelliJ IDEA ###
+.idea/modules.xml
+.idea/jarRepositories.xml
+.idea/compiler.xml
+.idea/libraries/
+*.iws
+*.iml
+*.ipr
+
+### Eclipse ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store
\ No newline at end of file
diff --git a/.idea/$PROJECT_FILE$ b/.idea/$PROJECT_FILE$
new file mode 100644
index 0000000..58b7e3e
--- /dev/null
+++ b/.idea/$PROJECT_FILE$
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..63574ec
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..ee2c34b
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..561b5d1
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/qaplug_profiles.xml b/.idea/qaplug_profiles.xml
new file mode 100644
index 0000000..9a7566c
--- /dev/null
+++ b/.idea/qaplug_profiles.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..3487302
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,17 @@
+
+
+ 4.0.0
+
+ com.bwie
+ day19rk
+ 1.0-SNAPSHOT
+
+
+ 17
+ 17
+ UTF-8
+
+
+
diff --git a/src/main/java/com/bwie/Main.java b/src/main/java/com/bwie/Main.java
new file mode 100644
index 0000000..1287888
--- /dev/null
+++ b/src/main/java/com/bwie/Main.java
@@ -0,0 +1,7 @@
+package com.bwie;
+
+public class Main {
+ public static void main(String[] args) {
+ System.out.println("Hello world!");
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/bwie/Test/test.java b/src/main/java/com/bwie/Test/test.java
new file mode 100644
index 0000000..efd2826
--- /dev/null
+++ b/src/main/java/com/bwie/Test/test.java
@@ -0,0 +1,32 @@
+package com.bwie.Test;
+
+import com.bwie.pojo.Student;
+import netscape.javascript.JSObject;
+
+import java.util.ArrayList;
+
+/**
+ * @ClassName test
+ * @Description 描述
+ * @Author Chen
+ * @Date 2024/8/8 8:36
+ */
+public class test {
+ public static void main(String[] args) {
+ Student student = new Student(1, "李四", "语文", "130");
+ Student student2 = new Student(2, "王五", "数学", "80");
+ Student student3 = new Student(3, "田七", "英语", "90");
+ Student student4 = new Student(4, "赵六", "历史", "120");
+ Student student5 = new Student(5, "张三", "地理", "110");
+ ArrayList students = new ArrayList<>();
+ students.add(student);
+ students.add(student2);
+ students.add(student3);
+ students.add(student4);
+ students.add(student5);
+ for (Student student1 : students) {
+ System.out.println("===============" + student1.getStudentName());
+ }
+
+ }
+}
diff --git a/src/main/java/com/bwie/pojo/Student.java b/src/main/java/com/bwie/pojo/Student.java
new file mode 100644
index 0000000..e91c822
--- /dev/null
+++ b/src/main/java/com/bwie/pojo/Student.java
@@ -0,0 +1,69 @@
+package com.bwie.pojo;
+
+/**
+ * @ClassName Student
+ * @Description 描述
+ * @Author Chen
+ * @Date 2024/8/8 8:36
+ */
+
+public class Student {
+ /**
+ * 编号
+ */
+ private Integer studentId;
+ /**
+ * 姓名
+ */
+ private String studentName;
+ /**
+ * 科目
+ */
+ private String studentType;
+ /**
+ * 分数
+ */
+ private String studentScore;
+
+ public Integer getStudentId() {
+ return studentId;
+ }
+
+ public void setStudentId(Integer studentId) {
+ this.studentId = studentId;
+ }
+
+ public String getStudentName() {
+ return studentName;
+ }
+
+ public void setStudentName(String studentName) {
+ this.studentName = studentName;
+ }
+
+ public String getStudentType() {
+ return studentType;
+ }
+
+ public void setStudentType(String studentType) {
+ this.studentType = studentType;
+ }
+
+ public String getStudentScore() {
+ return studentScore;
+ }
+
+ public void setStudentScore(String studentScore) {
+ this.studentScore = studentScore;
+ }
+
+ public Student() {
+ }
+
+ public Student(Integer studentId, String studentName, String studentType, String studentScore) {
+ this.studentId = studentId;
+ this.studentName = studentName;
+ this.studentType = studentType;
+ this.studentScore = studentScore;
+ }
+}
diff --git a/屏幕截图 2024-08-08 092649.png b/屏幕截图 2024-08-08 092649.png
new file mode 100644
index 0000000..4adcff6
Binary files /dev/null and b/屏幕截图 2024-08-08 092649.png differ