This commit is contained in:
2024-10-10 09:19:56 +08:00
parent a3e84dc516
commit c34ef6f2c2
3 changed files with 61 additions and 35 deletions

View File

@@ -8,6 +8,10 @@ class Book {
// this.id = 0;
// this.name = "未命名";
// System.out.println("初始化:无参构造被调用!");
// }
// public Book(int id, String name) {
// this.id = id;
// }
// 打印信息