I often ask this question on the interviews:
Will this code work? What will be the result?
byte b;
int i=300;
byte b=(byte) i;
...
« previous1 next »