Java OCA OCP Practice Question 497

Question

Which two operators would be used to test if a number is equal to or greater than 5.21 but strictly less than 8.1?

  • A. > and <=
  • B. >= and >
  • C. < and >=
  • D. < and >


C.

Note

The question is asking which operator represents greater than or equal to and which operator is strictly less than.

The >= and < correspond to these operators, respectively.

Option C is the correct answer.




PreviousNext

Related