Question: Write a method which creates an ArrayList of Integer objects between 1 and 100. Set the default for the Arraylist . Your output will be
| Write a method which creates an ArrayList of Integer objects between 1 and 100. Set the default for the Arraylist . Your output will be the corresponding letter grade of the integer you read in. For example: If you enter in the following integers: 55, 92, 88 the output will be F,A, B If the student grade entered is >89 then the output would be A >79 the output should be B >69 the output should be C > 59 the output should be D <59 the output should be F The letter grade should be in place of the original integer object entered. Run the program 5 times using the following scenarios. Be sure to print the output after each run Run #1 choose 8 integers display the first run Run #2 replace element 3 and 5 with a different letter grade Run #3 make the arraylist to include 13 integers Run #4 make the arraylist smaller by removing some elements Run #4 Clear the Array Dont forget to take a screen shot of the outcome
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
