Activity 01
Inquiry Circle: The Zoo Hierarchy
Groups design a class hierarchy for a zoo management system. They must decide which traits belong in a general 'Animal' class and which are specific to 'Mammal' or 'Bird.' They then present their diagrams to the class to discuss where they placed specific methods like 'makeSound()'.
Explain how abstraction allows developers to change internal logic without breaking external systems.
Facilitation TipFor The Zoo Hierarchy, assign each group specific animal types to research so they must examine shared traits and unique behaviors before coding.
What to look forPresent students with a simple class definition. Ask them to identify which members are good candidates for being private (data hiding) and which should be public (methods for interaction). Then, ask them to write a brief justification for their choices, referencing encapsulation.