案例1
public class Demo { public int calc(){ int a=100; int b=200; int c=300; return(a+b)*c; } public static void main(String[] args){ Demo demo = new Demo(); demo.calc(); } }
分析
javap生成
javac Demo.java
javap -v Demo.class