Assume x = 4 and y = 5, which of the following is true?

a. x < 5 && y < 5
b. x < 5 || y < 5
c. x > 5 && y > 5
d. x > 5 || y > 5

b. x < 5 || y < 5
is true, but y < 5 is false. So A is false. B is true. C and D are both false, because x > 5 is false and y > 5 is false. The correct answer is B.

Computer Science & Information Technology

You might also like to view...

If the ________ is left blank, the file name and application name display instead

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which method can you use to find out the number of the bytes in a file using InputStream?

a. length() b. available() c. size() d. getSize()

Computer Science & Information Technology