注:本文主要参考自《深入理解java虚拟机(第二版)》
1、javap的使用与类文件结构
使用过程:
java源代码:
1 package compile; 2 /** 3 * class字节码 4 */ 5 public class TestClass { 6 private int m; 7 8 public int inc() { 9 return m + 1; 10 } 11 }
注:本文主要参考自《深入理解java虚拟机(第二版)》
1、javap的使用与类文件结构
使用过程:
java源代码:
1 package compile; 2 /** 3 * class字节码 4 */ 5 public class TestClass { 6 private int m; 7 8 public int inc() { 9 return m + 1; 10 } 11 }
相关文章: