© Easy Notecards

x <= y

Refer to the following method.

public static int mystery(int n)
{
if (n == 1)
return 3;
else
return 3 * mystery(n - 1);
}

What value does mystery(1) return?

Front

If a, b, and c are integers, which of the following conditions is sufficient to guarantee that the expression

a < c || a < b && !(a == c)

evaluates to true?

Front

When will the result be equal to 3?

public static int whatIsIt(int x, int y)
{
int result = 0;
if (x > y)
result = 4;
else
result = 3;

return result;
}

Front
1 / 77
Display first:
How to Navigate Cards

Go to card:

/ 344
Go
Next card: click ">" button
Previous card: click "<" button
Mark/Un-Mark card: click checkmark
Larger image: click magnify icon
Flip card: click card
Edit card: click "Edit" link
Start over: In "Options" menu
Shuffle: In "Options" menu
Next card: swipe left
Previous card: swipe right
Mark/Un-Mark card: tap checkmark
Larger image: tap magnify icon
Flip card: tap card
Edit card: tap "Edit" link
Start over: In "Options" menu
Shuffle: In "Options" menu
Next card: right arrow
Previous card: left arrow
Mark/Un-Mark card: SPACEBAR
Larger image: ENTER
Flip card: up/down arrow
Edit card: E
Start over: S
Shuffle: F
card-image

loading