X52.9755 Lecture 11: Thursday, April 30, 1998
In-class examples
- The
golden ratio.
- Draw a
flag
with
loops
and
if
statements.
- Sort
the array of MIME types.
- Call a method of a Java
applet.
- A document with three
layers.
- Are you currently taking any
medication
with layers?
- Move
a layer.
- Create a new
class,
and five objects of that class.
- Create a new class,
and an
array
of objects of that class.
- 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.