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.
1 parent 805d737 commit ab5ef7dCopy full SHA for ab5ef7d
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