✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of the following code snippet?
int x = 5;
int y = 2;
System.out.println(x > y ? "x is greater than y" : "x is less than or equal to y");
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!