上传了实验四,已确认无敏感信息

This commit is contained in:
2024-06-10 16:42:32 +08:00
parent 2da90eeebf
commit c9d2aa581b
16 changed files with 324 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
//Dog.java
package Task1;
public class Dog extends Animal {
public Dog() {
super();
}
public void shout() {
System.out.println(String.format("%s发出汪汪叫", this.name));
}
public void superShout() {
super.shout();
}
}