Assume this: What is the value of the result after this statement executes? int result = flag

Question:

Assume this:

boolean flag int x = -3; double y = 5.0; false;

What is the value of the result after this statement executes? 

int result = flag ? x : (int) (y - 0.7);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: