6

連結と追加の基本的かつ本質的な違いは何ですか

4

2 に答える 2

4

When use Concat or append on two strings they both may give you same result when you output them but the main difference is on using concatenation new string object is created where as its not the same in case of StrinBuffer APPEND()

于 2012-09-24T11:53:18.997 に答える
4

「連結」は 2 つの特定のアイテムを結合しますが、「追加」は指定したものを既に存在するものに追加します。

于 2012-09-24T11:48:17.403 に答える