public class Week3 {
  public static void main(String[] args) {
    int x;          // variable named x has type int
    double d, d2;   // variables d and d2 have type double
    char ch;        // variable ch has type char
    boolean found;  // variable found has type boolean
    String name;    // variable name has type String
    x = 11 % 3;      // % computes the remainder of a division.  x = 2
    d = 3.5;         // stores 3.5 in d
    d2 = d + 1.5;    // stores 5.0 in d2
    d = d + d2;      // stores 3.5 + 5.0 in d, the previous value is lost
    ch = 'J';        // stores the character J in ch
    found = true;    // (note: NO quotes)  stores true in found
    name = "Alice";  // stores a reference to Alice in name
  }  
}