← Back to Week 5

Know vs Do Sorter

Sort each item into the right bucket. KNOW = data the object holds (fields and getters). DO = actions the object performs.

Score
0 / 0
Item
1 / 12

What kind of responsibility is this?

Final Score

Heuristic: getters (even derived ones like getTotalPay()) return data, so they are KNOW. Methods that change state, perform I/O, or run an action are DO.

Derived or Stored? →