Skip to content

Instantly share code, notes, and snippets.

@keiji
Created September 20, 2018 03:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keiji/5375aa7d800252ea688faa7443c099f8 to your computer and use it in GitHub Desktop.
Save keiji/5375aa7d800252ea688faa7443c099f8 to your computer and use it in GitHub Desktop.
public class Main {
public static void main(String[] args) {
Number num = new Long(1L);
if (num.equals(1)) {
System.out.println("true");
} else {
System.out.println("false");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment