public class Types {
  public static void main(String[] args) {
    short s = 32767;
    char c = (char)65536;
    int i = c; // 5) What will be printed here?
    float f = 1.0F;
    double d = 2.0;
    byte b = 127;
    byte mb = -128;
    // 4.1 Which other primitive types? boolean and long
    System.out.println("int = " + i);
    System.out.println("char = " + c);
    System.out.println("float = " + f);
    System.out.println("double = " + d);
    System.out.println("byte = " + b + ", -byte = " + mb);
    System.out.println("short = " + s);
  }
}
