CS 160

February 6, 2004

Today's class
  • I went over another example of JOptionPane, taking user input.
  • Then I went over using doubles, floats, chars, ints, and String. I showed some problems with placing ints into a double, and vice versa.
A. UserInput.java       B. Data types
The last part of class we did another problem that was turned in covering the Animal/Driver class again. Same assignment I gave last Wednesday. Just checking to see if anybody improved.