CSC 216 F09/Interface: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 18: Line 18:


Flyable:
Flyable:
  Plane
* Plane
  Blimp
* Blimp
  Predator
* Predator


Possible Methods
Possible Methods
  Take-off
* * Take-off
  Land
** Land
  Steer
* Steer
  Etc.
* Etc.

Revision as of 00:02, 17 November 2009

Interfaces

The Problem

This exercise is designed to teach students the basics behind the structure of an interface. By the end, they should be able to recognize when it is appropriate to organize and implement an interface for similar classes containing similar methods.

Participants and Props

  • 3 volunteers
  • Object cards
  • 3 markers
  • Whiteboard

The Script

Directions:


Suggestions:

Flyable:

  • Plane
  • Blimp
  • Predator

Possible Methods

  • * Take-off
    • Land
  • Steer
  • Etc.