B 3.2.5 Worksheet Coding - Java answers
Would you keep Animal as an Interface or change it to an Abstract Class? Why? * Answer: Change it to an Abstract Class. If we need to store "State" (like a name variable) and share the "Logic" (like a getName() method), an Abstract Class is required. Interfaces are for behavior only; Abstract Classes are for shared identity and data. Complete Main.java