Text Twist exercise

– Demonstrates IO, Exceptions, Vectors

– Given: the WordTester class – explanation of algorithm to follow, can be treated as black box for now, and an Applet which does KeyListener and whatnot
– Description of algorithm in English

  • a brief look at how we solve things like this: human way versus computer way
  • reading through a file
    – File reading part of the exercise
  • description of file-reading
  • description of exceptions
    – Vector part of the exercise
  • They need to define a class that returns a vector of the words