Match grammar constructs of nouns and verbs to classes and methods to help students understand what goes into a class because this helps make this difficult object-oriented programming construct easier to understand.

  • When programming, have students circle all of the nouns (objects) and underline the verbs (methods).

  • Have students about the nouns and what might those need to be able to do to motivate methods.

  • Activity:

    • Ask students what happens when you go into a restaurant.

      • Write down the actions that they list on the board.

    • Circle the nouns and discuss how you might model those as objects.

    • Underline the verbs and discuss how those might be a method.