JVM Chapter 4 Case Study 1

After learning the structure of the class file, analyze a relatively simple class to deepen understanding
  //定义如下一个简单的Simple类,然后通过查看Simple.class文件内容并结合javap -v Simple 生成的常量池内容
  //来分析以下class文件的结构,查看十六进制可以用nodepad++的插件HEx
  package com.louis.jvm;  
  public class Simple
  {  
    private  transient static final String str ="This is a test";  
  } 
  

Guess you like

Origin blog.csdn.net/qq_28816195/article/details/78758569