Add new elements to an ArrayList using the add() method. Also, in Java arrays have a length property, so theres no need to pass d. Usagi Miyamoto at 10:00 You may want to change from arrays to List. You may assign it to the variable referencing the old array, but you cannot do this to a method argument.
0 Comments
Leave a Reply. |