The following homework assignment is due on Feb 24, before
the beginning of class.
Your assignment is to make up a working Java program
that illustrates usage for each of the following reserved words.
The example should be as small as possible and should be e-mailed
to me, with source code list and the output.
The output should not be a raster image
attachment, but ASCII text.
Create an example that shows how to use a Class
Create an example that shows how to use a Return
Create an example that shows how to use an abstract class
Create an example that shows how to use an abstract method
Create an example that shows how to use a break in a for
Create an example that shows how to use a break in a while
Create an example that shows how to use two breaks with one
using a label as a target.
Create an example that shows how to use two continues, with
one using a label as a target.
|