mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-24 23:13:28 +08:00
Update 09-Polymorphism.md
This commit is contained in:
@@ -819,7 +819,7 @@ class Amphibian extends Animal {
|
||||
}
|
||||
|
||||
public class Frog extends Amphibian {
|
||||
private Characteristic = = new Characteristic("Croaks");
|
||||
private Characteristic p = new Characteristic("Croaks");
|
||||
private Description t = new Description("Eats Bugs");
|
||||
|
||||
public Frog() {
|
||||
|
||||
Reference in New Issue
Block a user