X52.9755 Lecture 11: Thursday, April 30, 1998

In-class examples

  1. The golden ratio.
  2. Draw a flag with loops and if statements.
  3. Sort the array of MIME types.
  4. Call a method of a Java applet.
  5. A document with three layers.
  6. Are you currently taking any medication with layers?
  7. Move a layer.
  8. Create a new class, and five objects of that class.
  9. Create a new class, and an array of objects of that class.
  10. The greatest (and shortest) book on what is now pejoratively called procedural programming but which was then called structured programming is The Elements of Programming Style.