Monday, August 15, 2011

Java mutator and accessor with array...?

You're declaring Value and Item as new properties, but never give them values. Unless I'm misunderstanding, you return the current Value and the current Item before they are set to anything, which means that they are still undefined values 0 and null.

No comments:

Post a Comment