CSC 257 Online
CSC 257 Class Discussion

20080614 Saturday June 14, 2008
Exercise 11 Problem 1 For problem 1, I used:
sum += (Integer)i.next();

Instead of the statement given by the answer key:
sum += ((Integer)i.next()).intValue();

The same goes for the removeSet() method, also.  I got the same answer either way for both methods.  Is there a reason to use intValue();?  Or does it matter?  I use Java 5.0 if that helps.
Posted by elstuelk ( Jun 14 2008, 06:42:32 PM EDT ) Permalink Comments [1]
20080519 Monday May 19, 2008
Problem compiling When trying to compile HelloWorld.java, I get:
Error occurred during initialization of VM
Could not reserve enough space for code cache

I am logging into remote.eos.ncsu.edu, which is the FAQ solution to the problem.
Posted by mhnash ( May 19 2008, 10:52:06 AM EDT ) Permalink Comments [3]

Archives
Language
Links