Relevant Midterm Questions

  1. Good software design aims at:
    • High cohesion and loose coupling
  2. “Making instance variables private, rather than public” follows the principle of:
    • Information hiding
  3. The Law of Demeter ("only talk to friends") can:
    • reduce coupling