1

What are the values of x and y when the following statements are executed?

int a = 63, b = 36;

boolean x = (a < b ) ? true : false; int y= (a > b ) ? a : b ;

  • x = false y = 63

  • x = true y = 63

  • x = false y = 36

  • x = true y = 36