a3 part 2

This commit is contained in:
2022-04-11 13:58:33 +08:00
parent 72874e2cc3
commit 8ae38c9f2b
6 changed files with 167 additions and 0 deletions

View File

@@ -29,5 +29,8 @@ public class Human extends Mammal {
* Test.
*/
public static void testHuman() {
Human human = new Human();
System.out.println(human.getName() == "Alice");
System.out.println(human.isCookable() == false);
}
}