concatenation expression
常見例句
- If a number is used in a string concatenation expression, for example, the number is converted to a string first.
例如,如果一個(gè)數(shù)字用在一個(gè)字符串連接表達(dá)式中,數(shù)字就會(huì)先轉(zhuǎn)換爲(wèi)字符串。 - In this context, where this is the right-hand side of a String concatenation expression (using the plus sign), this.toString is invoked implicitly.
在這裡的上下文中,this 在一個(gè)String 的鏈接表達(dá)式(使用加號(hào))的右邊,this.toString 被隱式地調(diào)用了。 - If you prefer not to use a long string concatenation statement like this, an alternative is to use the string formatting operator which enables you to have an expression like
如果不喜歡使用這麼長(zhǎng)的字符串連接語(yǔ)句,另一種方法是使用字符串格式操作符,可以使用下麪這樣的表達(dá)式 返回 concatenation expression