Question: Consider the following variables: int x = 3, y=10; Which of the following statements are true? For the line, if (y>=10 || X == y),

Consider the following variables: int x = 3, y=10; Which of the following statements are true? For the line, if (y>=10 || X == y), both of the expressions will be evaluated For the line, if ( x == y || y>=10), the expression y>=10 will be skipped due to short circuit evaluation For the line, if ( x == y && y>=10), both of the expressions will be evaluated For the line, if ( x == y && y>=10), the expression y>=10 will be skipped due to short circuit evaluation For the line, if ( x == y || y>=10), both of the expressions will be evaluated For the line, if (y>=10 || X == y), the expression x==y will be skipped due to short circuit evaluation For the line, if (y>=10 && x == y), the expression x==y will be skipped due to short circuit evaluation For the line, if (y>=10 && x == y), both of the expressions will be evaluated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
