User Profile
Collapse
-
thank you very much for your help. i appreciate it. have a great day!... -
thank you so much! it runs! yay:)
the only other thing i have no idea how to do, is we are supposed to have four numbers per spot on the array list. how to i break down my big number to take four numbers in at a time?Leave a comment:
-
Very new to programming, could use some help with arraylist
I have been looking through forums but cannot find out how to create the arraylist in java. B1 and B2 are two big numbers typed in by the user. here is some code:
Code:final int MAX = 1000; List BigNum = new ArrayList(); BigNum.add(new Integer(B1)); final int MAX2 = 1000; List BigNum2 = new ArrayList(); BigNum2.add(new Integer(B2)); System.out.println(BigNum); System.out.println(BigNum2);
No activity results to display
Show More
Leave a comment: