139k views
5 votes
What does this comparison block indicate?

OA. The comparison
is true if the left side is not equal to the right side.
OB. The comparison
is true if the left side is equal to the right side.
OC. The comparison is true if the left side is less than or equal to the
right side.
OD. The comparison is true if the left side is greater than or equal to
the right side.

What does this comparison block indicate? OA. The comparison is true if the left side-example-1
User Synhershko
by
3.4k points

1 Answer

4 votes

Answer:

D. The comparison is true if the left side is greater or equal to the right side.

Step-by-step explanation:

You're comparing the value of getItem to 5, checking whether the value of getItem which is on the left side is bigger or equal to 5.

If the value of getItem is equal to or bigger than 5, the comparison returns true.

Else, it returns false.

User MTM
by
3.8k points