int bikeOn = true;
declares a new int variable called bikeOn and sets it equal to true.
you now have two bikeOn variables... a global and a local...
int bikeOn = true;
declares a new int variable called bikeOn and sets it equal to true.
you now have two bikeOn variables... a global and a local...