Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thenaveensaggam/82173541663a521eccb17d97737dff93 to your computer and use it in GitHub Desktop.
Save thenaveensaggam/82173541663a521eccb17d97737dff93 to your computer and use it in GitHub Desktop.
public boolean lastDigit(int a, int b) {
return (a % 10 == b % 10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment