举例:
class文件格式:如下图所示,java源代码可以根据不同的编译器可以编译成不同的代码.即可以自定义语言规范比如beanshell,并编写代码; 然后自己编写java编译器将其源代码编译成class文件,从而在java虚拟机中运行.即可以解释java支持脚本语言的原因