Skip to content

Instantly share code, notes, and snippets.

@alex-ber
Last active October 20, 2019 05:20
Show Gist options
  • Save alex-ber/2be4a6e50016b82209d3182be1fc0274 to your computer and use it in GitHub Desktop.
Save alex-ber/2be4a6e50016b82209d3182be1fc0274 to your computer and use it in GitHub Desktop.
Integer one = Integer.valueOf(1);
Integer anotherOne = one;
Number numberOne = one;
//Integer illegalOne="1";
String str ="one";
String anotherStr =str;
//Number illegalStr = "one";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment