上传了实验四,已确认无敏感信息
This commit is contained in:
Executable
+16
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user