> '\t' == '\12' true > 123456789 123456789 > 123456789123456789 NumberFormatException: For input string: "123456789123456789" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.valueOf(Integer.java:553) > 2 == '2' false > 2 == (int) '2' false > (int) '2' 50 > ' ' != (char) 32 false [..... try several of the above with variable x .....] ABSTRACTION -- A _TYPE_ OF THING int 32 bits ... 2^32 integers ... -2^31 .. 2^31-1 double 64 bits char 16 bits boolean 1 bit?! ... undefined! usually 8 bits > Integer.MAX_VALUE // a name!! actually, two 2147483647 > Integer.MAX_VALUE + 1 -2147483648 > String instructor; > System.out.println( instructor ); null > instructor = "Eugene"; > System.out.println( instructor ); Eugene > String lastName = new String( "Wallingford" ); > System.out.println( lastName ); Wallingford > instructor.charAt( 4 ); > System.out.println( instructor.charAt(4) ); n > System.out.println( instructor.indexOf('e') ); 3 > String filename = "/Users/wallingf/Desktop/numb3rs-logo.jpg"; > Picture picture = new Picture( filename ); > picture.show(); > picture.negate(); > picture.show(); > picture.clearBlue(); > picture.show(); > picture.makeGrayscale(); > picture.show(); Pixel p = picture.getPixels()[0][0]; int red = p.getRed(); int green = p.getGreen(); int blue = p.getBlue(); int intensity = (red + blue + green) / 3;