回答編集履歴

1

公式チュートリアル(SUN時代からの継ぎ足し継ぎ足しで今に至る)

2018/03/30 13:43

投稿

退会済みユーザー
test CHANGED
@@ -25,3 +25,33 @@
25
25
 
26
26
 
27
27
  ```
28
+
29
+
30
+
31
+
32
+
33
+ 誤解が発生しそうな記述が公式にあったな
34
+
35
+ https://docs.oracle.com/javase/tutorial/java/package/packages.html
36
+
37
+
38
+
39
+ ```
40
+
41
+ You should bundle these classes and the interface in a package for several reasons, including the following:
42
+
43
+
44
+
45
+ You and other programmers can easily determine that these types are related.
46
+
47
+ You and other programmers know where to find types that can provide graphics-related functions.
48
+
49
+ The names of your types won't conflict with the type names in other packages because the package creates a new namespace.
50
+
51
+ You can allow types within the package to have unrestricted access to one another yet still restrict access for types outside the package.
52
+
53
+ ```
54
+
55
+
56
+
57
+ 多分これを誤った解釈したんだろうな