hey, how do i fix this error?

r cannot be resolved

and here's code

int randomAttack = r.nextInt(2);