We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d8df3d + ab5ef7d commit 1c09f7aCopy full SHA for 1c09f7a
docs/CH09.md
@@ -497,7 +497,7 @@ public class ImportStaticDemo {
497
498
如果您想要 "import" 類別下所有的靜態成員,也可以使用 '\*' 字元,例如將範例 9.10 中的 "import static" 改為以下也是可行的:
499
500
- `import static java.util.Arrays.*;
+ import static java.util.Arrays.*;
501
502
"import static" 語法可以讓您少打一些字,但是您要注意名稱衝突問題,對於名稱衝突編譯器可能透過以下的幾個方法來解決:
503
0 commit comments