logo

Crowdly

Consider the following code: Scanner in = new Scanner(System.in); System.out....

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following code:

Scanner in = new Scanner(System.in);

System.out.println("Enter a score from -3 to +3 (where 0 is neutral): ");

review.setScore(in.nextInt());

Assume the review object has been initialized and the setScore method has been defined elsewhere in the code.

Which of the following values entered by the user would represent a negative test of this code?

0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on learning.monash.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!