tyme
02-01-2004, 4:03 PM
Hey all im new here, and prolly will b posting here alot cuase ive taken an interest in java.
Anyway, i have created a basic program to convert a number from decimal to hex. I used an array to store the values of the conversion, and i would like them to be then converted into Letters in the value in the array is greater than 9.
1st question) can you store 'chars' or "Strings" in an array?
2nd question) when displayin an array in a JOptionPane message box, is there any way to display the entire list of arrays in stead of typing each ie array[0] + array [1] + array[2] etc?
thx any input would be great:cool:
Anyway, i have created a basic program to convert a number from decimal to hex. I used an array to store the values of the conversion, and i would like them to be then converted into Letters in the value in the array is greater than 9.
1st question) can you store 'chars' or "Strings" in an array?
2nd question) when displayin an array in a JOptionPane message box, is there any way to display the entire list of arrays in stead of typing each ie array[0] + array [1] + array[2] etc?
thx any input would be great:cool: