Answer:
Java - number % 10;
Step-by-step explanation:
The modulo (%) or remainder operator in Java and other programming languages is used to get the remainder value from a division operation.
Dividing any integer by 10 moves the decimal point one point left, e.g. 158 becomes 15.8.
The number after the point is the result you'd get from the modulo operation, which would be the last digit of an integer before division. If you use the modulo operator on a multiplier of 10, you'd get 0, which is also correct, e.g. 100 % 10 = 0.