3.2 Inheritance


  1. Determine an appropriate program design to solve a problem or accomplish a task (not assessed ).
  2. Write program code to define a new type by creating a class.
  3. Describe the behavior of a given segment of program code.
  4. Describe the initial conditions that must be met for a program segment to work as intended or described.
  5. Determine code that would be used to interact with completed program code.
  6. Write program code to create objects of a class and call methods.
  7. Explain why a code segment will not compile or work as intended.

Essential Questions

  1. How might the use of inheritance help in writing a program that simulates crops being grown in a virtual world?
  2. How does inheritance make programs more versatile?

3.2 Challenge

    • Under development