...
Code Block | ||
---|---|---|
| ||
public int do_shift(int shift_value){Â
if(shift_value > 31 or shift_value <0)if(shift_value > 31 or shift_value <0)
throw ArithmeticException;
else
int val = 2 << shift_value;
}
|
...
...
Code Block | ||
---|---|---|
| ||
public int do_shift(int shift_value){Â
if(shift_value > 31 or shift_value <0)if(shift_value > 31 or shift_value <0)
throw ArithmeticException;
else
int val = 2 << shift_value;
}
|
...