Skip to content

Commit

Permalink
Update 类文件结构.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hailong.sha committed Nov 21, 2020
1 parent abec92e commit 14f5925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/jvm/类文件结构.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public class Employee {
method_info methods[methods_count];//一个类可以有个多个方法
```

methods_count 表示方法的数量,而 method_info 表示的方法表
methods_count 表示方法的数量,而 method_info 表示方法表

Class 文件存储格式中对方法的描述与对字段的描述几乎采用了完全一致的方式。方法表的结构如同字段表一样,依次包括了访问标志、名称索引、描述符索引、属性表集合几项。

Expand Down

0 comments on commit 14f5925

Please sign in to comment.