title: Can I add new methods to the String class in Java?
body: <p>I'd like to add a method <code>AddDefaultNamespace()</code> to the String class in Java so that I can type <code>"myString".AddDefaultNamespace()</code> instead of <code>DEFAULTNAMESPACE + "myString"</code>, to obtain something like <code>"MyDefaultNameSpace.myString"</code>. I don't want to add another derived class either (<code>PrefixedString</code> for example).</p>
  
  <p>Maybe the approach is not good for you but I personally hate using <code>+</code>. But, anyway, is it possible to add new methods to the String class in Java?</p>
  
  <p>Thanks and regards.</p>