asked 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

asked
User Pwolaq
by
8.5k 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

answered
User The Windwaker
by
8.4k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.