| CHAPTER 5: Conversions and Promotions |
Previous |
Java Language |
Index |
Next |
String conversion applies only to the operands of the binary +
operator when one of the arguments is a String
. In this single special case, the other argument to the +
is converted to a String
, and a new String
which is the concatenation of the two strings is the result of the +
. String conversion is specified in detail within the description of the string concatenation +
operator (S15.17.1).
| © 1996 Sun Microsystems, Inc. All rights reserved. |