Question
Computer Science. 1) Array Scenario: ArrayList 1. Import the ArrayList Class 2. Create an ArrayList of Cars 3. Populate the list with 5 different Cars
Computer Science.
1) Array Scenario: ArrayList 1. Import the ArrayList Class 2. Create an ArrayList of Cars 3. Populate the list with 5 different Cars 4. Output the Results
2) Create a 2D Array named scores that holds students and test scores. The rows will hold testscores. There will be 3 rows for test1, test2 and test3. There will be 10 columns for students. Declare and Initialize the 2D array. The scores will range from 0 to 100 per test and will be of data type int.
Output your results.
Then copy this code into a second file. The modify the code to subtract 10 points from the 5th student. Output your results.
*/ // Import Scanner
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started