Question: It is Java. Thank you 1) Create a class that include variables for student name (String) and score (int). See slide #27 (Week2-2) 2) Create
It is Java. Thank you
1) Create a class that include variables for student name (String) and score (int). See slide \#27 (Week2-2) 2) Create an ArrayList that will contain the class as an object. See slide \#27 (Week2-2) Ed 20 3) Your program should read score.txt using Scanner. The file contains the name and score for each student. Tom 30 Jane 27 4) Name and score should be stored in the ArrayList. Jessica 28 5) After reading the file, print all the students' name and score from the ArrayList. 6) If you don't know how to read a file, manually save all the 4 students data. See slide \#30 (Week2-2) 7) Ask for the user to input a desired score using Scanner. 8) Option (1 extra point): If the user's input is not an integer, ask for input again. (Accept only integer) See attached slide \# 7 (exceptions.pptx) 9) Print name and score of student whose score is >= the user's desired score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
