Programming, P1xt Guides, Java, Learning To Code.
extends Bird you can write Hawk h = new Hawk(); or Bird h2 = new Hawk(); but NEVER Hawk b = new Bird(); This was challenging in the quizzes where the course makes very complex class relationship diagrams. The abstraction learned in Unit 4 is the most helpful to me. IntelliJ offers easy methods to