diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# 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/modules.xml b/.idea/modules.xml deleted file mode 100644 index 87c4a4d..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.gitignore b/01_Intellij_Java_universal_20240419/untitled/.gitignore similarity index 100% rename from .gitignore rename to 01_Intellij_Java_universal_20240419/untitled/.gitignore diff --git a/01_Intellij_Java_universal_20240419/untitled/.idea/.gitignore b/01_Intellij_Java_universal_20240419/untitled/.idea/.gitignore new file mode 100644 index 0000000..359bb53 --- /dev/null +++ b/01_Intellij_Java_universal_20240419/untitled/.idea/.gitignore @@ -0,0 +1,3 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml diff --git a/.idea/misc.xml b/01_Intellij_Java_universal_20240419/untitled/.idea/misc.xml similarity index 100% rename from .idea/misc.xml rename to 01_Intellij_Java_universal_20240419/untitled/.idea/misc.xml diff --git a/01_Intellij_Java_universal_20240419/untitled/.idea/modules.xml b/01_Intellij_Java_universal_20240419/untitled/.idea/modules.xml new file mode 100644 index 0000000..0bfbc4d --- /dev/null +++ b/01_Intellij_Java_universal_20240419/untitled/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/01_Intellij_Java_universal_20240419/untitled/.idea/vcs.xml similarity index 68% rename from .idea/vcs.xml rename to 01_Intellij_Java_universal_20240419/untitled/.idea/vcs.xml index 94a25f7..b2bdec2 100644 --- a/.idea/vcs.xml +++ b/01_Intellij_Java_universal_20240419/untitled/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/JavaTemplate_Project.iml b/01_Intellij_Java_universal_20240419/untitled/Application.iml similarity index 100% rename from JavaTemplate_Project.iml rename to 01_Intellij_Java_universal_20240419/untitled/Application.iml diff --git a/01_Intellij_Java_universal_20240419/untitled/src/learn_20240419/Main.java b/01_Intellij_Java_universal_20240419/untitled/src/learn_20240419/Main.java new file mode 100644 index 0000000..6086674 --- /dev/null +++ b/01_Intellij_Java_universal_20240419/untitled/src/learn_20240419/Main.java @@ -0,0 +1,7 @@ +package learn_20240419; + +public class Main { + public static void main (String[] args){ + System.out.println("test"); + } +} diff --git a/application/application.iml b/application/application.iml deleted file mode 100644 index c90834f..0000000 --- a/application/application.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/application/src/Main.java b/application/src/Main.java deleted file mode 100644 index fe7aa2b..0000000 --- a/application/src/Main.java +++ /dev/null @@ -1,15 +0,0 @@ -//TIP 要运行代码,请按 或 -// 点击装订区域中的 图标。 -public class Main { - public static void main(String[] args) { - //TIP 当文本光标位于高亮显示的文本处时按 - // 查看 IntelliJ IDEA 建议如何修正。 - System.out.printf("Hello and welcome!"); - - for (int i = 1; i <= 5; i++) { - //TIP 按 开始调试代码。我们已经设置了一个 断点 - // 但您始终可以通过按 添加更多断点。 - System.out.println("i = " + i); - } - } -} \ No newline at end of file diff --git a/application/src/app_20240418/Main.java b/application/src/app_20240418/Main.java deleted file mode 100644 index d536baa..0000000 --- a/application/src/app_20240418/Main.java +++ /dev/null @@ -1,15 +0,0 @@ -/* -* Code by 20240418 -* Java 面向对象程序设计课程 -* Design by JRNitre -* */ - -package app_20240418; - -public class Main { - public static void main (String[] args){ - student s1 = new student("Dog meat",10,"Computer"); - - s1.getStudentInfo(); - } -} diff --git a/application/src/app_20240418/person.java b/application/src/app_20240418/person.java deleted file mode 100644 index f4bc510..0000000 --- a/application/src/app_20240418/person.java +++ /dev/null @@ -1,18 +0,0 @@ -package app_20240418; - -public class person { - private String name; - private int age; - - public person (String name, int age){ - this.name = name; - this.age = age; - } - - public String getPerson_name(){ - return this.name; - } - public int getPersion_age(){ - return this.age; - } -} diff --git a/application/src/app_20240418/student.java b/application/src/app_20240418/student.java deleted file mode 100644 index 4f5a593..0000000 --- a/application/src/app_20240418/student.java +++ /dev/null @@ -1,21 +0,0 @@ -package app_20240418; - -public class student extends person{ - private String dep; - - public student(String name, int age, String dep){ - // 调用父类构造函数进行构造 - super(name,age); - this.dep = dep; - } - - public void setStudent_dep (String dep){ - this.dep = dep; - } - - public void getStudentInfo(){ - System.out.println(getPerson_name()); - System.out.println(getPersion_age()); - System.out.println(this.dep); - } -}