If a number has 2 or 8 in the unit place, then its square ends in
22 and 82 always have 4 in the unit place. Also, we can see that square of 2 and square of 8 results in 4 and 64 respectively which have 4 in the unit place.
If a number has 2 or 8 in the unit’s place, then its square ends in