Memory Concepts

	number = Integer.parseInt(o.toString() );

would place the number 45, represented as an int, into the memory corresponding to the variable number. This presumes a prior declaration:

int number;
	sum = sum + number; //add number to sum