Of course! currentSpeed is an int-type variable. Because of type safety, we can't assign anything to it that isn't an integer value.
currentSpeed
int
Whoa! Can we really give currentSpeed a non-integer value?