I expect to put examples here, and probably some sample questions before
tests.
Here is the code for the GUI version of the pizza program, shown in class on 2/6/02.
Here is a .txt version of the code for the GUI version of the pizza program, shown in class on 2/6/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it (this is a test)
Here
is the code for the Olympic skiing tickets program, shown in class on 2/7/02.
It demonstrates some simple if (and I have put in some comments showing good
commenting).
Here
is the test from the last time I taught this class.
Note that the class was taught using C then, so some of this is the same, but some is different.
(printf does in C what we have been doing with System.out.println).
Also, we have not covered exactly the same topics as we had then.
I'm not sure yet at this point if our test will include any looping.
Here is a .txt version of the code for the bank account class,
shown in class starting on 3/13/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the demo code showing the use of the bank account class,
shown in class starting on 3/13/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the demo
code showing more use of the bank account class,
discussed in class starting on 3/20/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the scoreboard
class
discussed in class starting on 4/08/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the demo
code showing very light use of the scoreboard class,
discussed in class starting on 4/08/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the
full scoreboard class
handed out in class on 4/11/02.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is documentation for the class produced
by javadoc.
Here is a .txt version of the demo
code showing use of = and == with objects - and an alternative - an equals method -
discussed in class on 4/11/02
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of a demo
program showing how the scoreboard class (ScoreBoard.java) could be used to help run a basketball game.
Not discussed in class - but available for extra example.
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the static class
code showing how to write static classes - here a class to read a valid integer through
a GUI interface -
written in class on 4/18/02
By making it a txt file you should be able to see it online instead of having
to download it and open Forte in order to see it.
Here is a .txt version of the main class
used to demonstrate the use of the static method in class on 4/18/02.
|