Mit dem Cast, kann man einer Variable einen anderen Typ zuweisen.
int i = 32; //byte b = i; //Error! byte b = (byte) i;