Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 youimage text in transcribed

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

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

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions