Description
Overview. Based on the objectives for the Inheritance Slides (outlined below), this is a summative assessment provided herewith.
Solution: A sample interactive solution is included as a JDoodle Link
Note: Creating connections with previous content is key to implementing the concepts of Inheritance in Java, in particular how classes belonging to a specific hierarchy can be represented as a collection (Array) where the Array needs to be traversed, searching and editing these objects.
Objective: Describe the purpose of inheritance and how it can be used to increase code reusability, decrease redundancy
- Plan and create effective hierarchy of classes. Illustrate / visualize inheritance using UML Class Diagrams
- Access and modify (public and private) variables and methods across a class hierarchy
- Override methods across a hierarchy - Polymorphism: Identify which method is invoked
- Plan and divide development tasks using Abstract Classes and Interfaces
Vocabulary and functions
- Inheritance, parent (super), chil, sibling
- Override, polymorphism, abstract, interface
AP® Computer Science A: 8.2 Inheritance (Assessment: Library Item)
Highlights
Description
Overview. Based on the objectives for the Inheritance Slides (outlined below), this is a summative assessment provided herewith.
Solution: A sample interactive solution is included as a JDoodle Link
Note: Creating connections with previous content is key to implementing the concepts of Inheritance in Java, in particular how classes belonging to a specific hierarchy can be represented as a collection (Array) where the Array needs to be traversed, searching and editing these objects.
Objective: Describe the purpose of inheritance and how it can be used to increase code reusability, decrease redundancy
- Plan and create effective hierarchy of classes. Illustrate / visualize inheritance using UML Class Diagrams
- Access and modify (public and private) variables and methods across a class hierarchy
- Override methods across a hierarchy - Polymorphism: Identify which method is invoked
- Plan and divide development tasks using Abstract Classes and Interfaces
Vocabulary and functions
- Inheritance, parent (super), chil, sibling
- Override, polymorphism, abstract, interface

