Skip to content

Instantly share code, notes, and snippets.

@shoheikawano
Created April 14, 2014 16:38
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 shoheikawano/10663841 to your computer and use it in GitHub Desktop.
Save shoheikawano/10663841 to your computer and use it in GitHub Desktop.
(初心者メモ)Javaでの足し算で予想外な挙動とその対策 ref: http://qiita.com/shohe_i/items/6e34d7ac2704bff965b3
public class Test {
public static void main(String[] args) {
System.out.println("加算の結果は" + 3 + 2 + "です。");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment