21.2k views
0 votes
Java 1

Question 14

If x is 5 and y is 10, what will the output of the following code be?


return x > y;


a. true

b. false

c. 10

d. 5

e. 0

User Pwolaq
by
6.3k points

1 Answer

7 votes

Answer:

it will return 10

Explanation:

As you can see 5 = x ad y = 10. So is say's x is lesser than 10 so 10 will be the ne to return

User The Windwaker
by
6.0k points