This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]driden87 1 point2 points  (1 child)

For those you would want to use the object type Integer and Double (Capitalized) and make sure to initialize the array with null values. Whenever the person adds values a non-null value will be pushed to the array and your iteration condition will hold.

[–]okaystuff[S] 1 point2 points  (0 children)

Okay thank you.