5 Replies Latest reply on Nov 1, 2009 2:52 PM by 843789

    Is there a proper way to set an empty String?

    843789
      So that I can concate them later?

      Like :

      String str = "";

      str = "abc"

      System.out.println(str);

      output:abc

      Is there?

      I know null doesn't work, it adds a null infront of my output? or is "" the only way? Is there a proper way?