Skip to content

Commit b4fbd0f

Browse files
Update CH16.md
应该不是通过modifiers来判定是否为class的
1 parent 32a1606 commit b4fbd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CH16.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public class SimpleClassViewer {
300300

301301
System.out.printf("package %s;%n", p.getName());
302302

303-
// 取得型態修飾,像是class、interface
303+
// 取得型態修飾,像是public、final
304304
int m = c.getModifiers();
305305

306306
System.out.print(Modifier.toString(m) + " ");

0 commit comments

Comments
 (0)