reset password
Author Message
RandomAccess
Posts: 101
Posted 23:18 Sep 14, 2017 |

Since it's an array list and not an array, it would use the .add() method. But since it's a class, wouldn't it use a set method like .setID()? I'm not sure whether I should use either, or both in some kind of combination. I'll do my best to look it up myself, but I would appreciate any help I can get.

Deanrona
Posts: 21
Posted 23:46 Sep 14, 2017 |

Use .add()

:)

kberna12
Posts: 4
Posted 10:16 Sep 15, 2017 |

listName.add(new Object(parameters));