News for hackers. Stuff that matters.
Re:JDK 7 Features by points on Monday September 20, 2010 @09:45AM (#1708754)
String[] currencySymbols; int[] amounts;

?

Re:JDK 7 Features by scott_s on Monday September 20, 2010 @11:50AM (#1709242)
Yes, but now there is not language-enforced relationship between the two. That currencySymbols[i] and amounts[i] are, in the mind of the programmer, two fields in the same object is no longer expressed in the language itself.