Multiple choice technology

  1. True or False: Create properties for lower-level classes before higher-level classes.

  1. (a) True

  2. (b) False

  3. Sometimes true

  4. sometimes false

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In class hierarchy design, it's better to define higher-level (base/abstract) classes first to establish the structure and interface before creating lower-level (derived/concrete) implementations. Top-down design ensures proper inheritance relationships and that derived classes have a consistent foundation to build upon.