Question: Assuming the variable score has been assigned the value 9, which of the following statements displays XXX? a. if(score 9); System.out.println(XXX); c. if(score > 0);

Assuming the variable score has been assigned the value 9, which of the following statements displays XXX?
a. if(score <= 9) System.out.println("XXX");
b. if(score > 9); System.out.println("XXX");
c. if(score > 0); System.out.println("XXX");
d. All of the above display XXX.

Step by Step Solution

3.39 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d All ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!