0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Javaの文字列表記方法

Posted at

始めに

Javaには他言語と同様に文字列を表記するための型が存在します。
それがString型です。

String型

数値型と文字型のように、型が異なるものを表記する際の特徴があります。
それが""と+を用いた文字列の連結です。

例えば 私の戦闘力は53万です。 とString型で表記したい場合、

"私の戦闘力は" + 53 + "万です。";

と表記されます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?