CS211 Bootcamp Solutions
Step 1
Prepared by:  Alvin Law (ajl56@cornell.edu)

1.5
The answers to the bootcamp tutorial can be found on the course information section of the webpage:  Course Info -> Java Bootcamp.

1.6
Autoboxing elimnates the need to cast a primitive type to a wrapper.  For example, when using the Vector class, the vectors only accept objects, therefore a primitive integer had to be wrapped in the wrapper class Integer first:

	int x = 5;
	Vector v = new Vector();
	v.add(new Integer(x));

	... can be done now as:

	int x = 5;
	Vector v = new Vector();
	v.add(x);

For more information, see
http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#boxing