what have you done so far?
stultuske
Industrious Poster
4,489 posts since Jan 2007
Reputation Points: 1,377
Solved Threads: 627
Skill Endorsements: 25
we can help you correct your code, we're not going to code it for you.
Do you know how to work with (Array)Lists and Generics?
if not, and you're indeed a beginner just starting up, leave stuff like this untill you've got a better hang of java programming.
stultuske
Industrious Poster
4,489 posts since Jan 2007
Reputation Points: 1,377
Solved Threads: 627
Skill Endorsements: 25
Have you read the API doc for the ArrayList class?
Do any of its methods look like they would "insert" an element into the list?
Have you tried any of the methods to see what they do?
Try writing a small, simple program that creates an ArrayList and add elements to it.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
Yes, I think you can do it.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
Are you having problems with your code?
Please post your code and your questions.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16