// splitting a string literal over more than one line String s = "abcdefghijklmnopqrst" + "uvwxyz";
There is no speed penalty for the + concatenation. It is done at compile time. String literals can be used anywhere you might use a String reference, e. g. "abc".charAt(1) is legal. For problematic/awkward/reserved/quotable characters like embedded ", see escape sequences below.
This page is posted
Optional Replicator mirror
Your face IP:[18.104.22.168]
You are visitor number|