3 ms·
String[] currencySymbols; int[] amounts; ?
by points 16y ago
String[] currencySymbols;
int[] amounts;
?
- scott_s 16y agoYes, 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.