Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Adding user input to an ArrayList

843789Apr 7 2009 — edited Apr 8 2009
Basically, I have to write a program where:

-I prompt the user for the names of all the courses he/she completed last year.
-I prompt the user for the grades acheived in all the courses.
-Then show the user all the subjects which he/she scored >93% (high achievement award marks) and <70% (needs improvement)

I started off, but then got stuck thinking exactly how I would get the user-inputted data into elements in an ArrayList (need an dynamic array). (We need to use arrays, and I figured that using the ArrayList class would be the best way to write this program).

Any comments as to if I'm even approaching this problem the right way will be appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2009
Added on Apr 7 2009
11 comments
11,089 views