4 Replies Latest reply: Oct 19, 2009 3:15 PM by 843789 RSS

    just a simple question about Strings and numerical values

    843789
      Dear forum members,
      Can anyone answer me this, please:

      System.out.println(2+2 + "=four");
      Output: 4=four

      B U T

      System.out.println("forty-four=" + 4+4);
      Output: fourty-four=44

      Where can I find the "why" in java's documentation???