質問編集履歴
1
コーディング規約のない場合と明記
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,4 +5,6 @@
|
|
5
5
|
1. `private static final int SOME_CONSTANT = 1;`
|
6
6
|
2. `final private static int OTHER_CONSTANT = 2;`
|
7
7
|
3. 状況によって1と2を使い分ける
|
8
|
-
4. その他の順序
|
8
|
+
4. その他の順序
|
9
|
+
|
10
|
+
(補足) もちろん、「コーディング規約がすでにある」場合に従うのは当然として、そうでない場合についての話です。
|