CS130 - 4/18/11

  1. Not exactly news
  2. Review of Java concepts
    1. Information stored in variables
    2. Varibles must be declared before use; the format is <type> <identifier>; int x; or String s;
    3. The value of a variable is changed with an assignment statement; i.e. x=100; or s="I am a String";
    4. Variables declared inside a method are local and only visible in the method; they are created when the method starts executing and disappear when it ends -- variables declared outside of any method are global and are visible everywhere; assuming they are in a Frame, they are created when the Frame is created and exist as long as it does.
  3. A Button that counts
  4. A TextField that sums a series of numbers
  5. Computing the maximum of a series of numbers
  6. Determining the maximum number in a file of numbers (if there is time)