From b4fbd0ff4868f499107a1c0744a796d640fe9d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=B3=E9=98=B3?= <260893248@qq.com> Date: Mon, 3 Apr 2017 17:16:31 +0800 Subject: [PATCH] Update CH16.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 应该不是通过modifiers来判定是否为class的 --- docs/CH16.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CH16.md b/docs/CH16.md index a12be8e..3e21992 100644 --- a/docs/CH16.md +++ b/docs/CH16.md @@ -300,7 +300,7 @@ public class SimpleClassViewer { System.out.printf("package %s;%n", p.getName()); - // 取得型態修飾,像是class、interface + // 取得型態修飾,像是public、final int m = c.getModifiers(); System.out.print(Modifier.toString(m) + " ");