How would I pass a final parameter from a class into a method? Example:
Code:class Vehicle{
private direction = 0;
public static final int TURN_LEFT = -90;
public static final int TURN_RIGHT = 90;
public void turn (final int TURN_LEFT){ // This is probably wrong... How to fix this?
direction = direction + TURN_LEFT;
}
}
