Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Describe how to train managers to coach employees. page 404

Answered: 1 week ago

Question

Discuss the steps in the development planning process. page 381

Answered: 1 week ago