0
0

More than 3 years have passed since last update.

java コメントの書き方

Posted at

今日はちょっと時間がないのでコメントの書き方だけ
さらっと書きます。

コメントアウト1行のみ

1行だけのコメントは次のように書くことができる。

一行のみ
// (コメント内容)

コメントアウト複数行

/* ~ /で囲んだ部分がコメントとなる。
「/
」がコメントの開始で、「*/」がコメントの終了という意味です。

複数行
/*
コメント内容
*/
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