<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>用JAVA写代码保存为.java(must) [假设为MyProgram.java]
会被JAVA的编译器编译为.class[MyProgram.class]
然后JVM会装载解释执行(现在JVM有优化所以不是简单的解释执行,请注意啊)
![Figure showing MyProgram.java, compiler, MyProgram.class, Java VM, and My Program running on a computer.](https://i-blog.csdnimg.cn/blog_migrate/a40fc451f8cfde5c3b6a6828178290d9.png)
希望可以理解JAVA执行过程
会被JAVA的编译器编译为.class[MyProgram.class]
然后JVM会装载解释执行(现在JVM有优化所以不是简单的解释执行,请注意啊)
![Figure showing MyProgram.java, compiler, MyProgram.class, Java VM, and My Program running on a computer.](https://i-blog.csdnimg.cn/blog_migrate/a40fc451f8cfde5c3b6a6828178290d9.png)
希望可以理解JAVA执行过程