Given an integer variable timer, write a statement that uses the auto-decrement operator to decrease the value of that variable by 1.

LANGUAGE: JAVA

CHALLENGE:

Given an integer variable timer, write a statement that uses the auto-decrement operator to decrease the value of that variable by 1.

SOLUTION:

timer--;

Posted in ,