其他分享
首页 > 其他分享> > 常量池

常量池

作者:互联网

package com.springboot.demo;

public class Helloword {
    public static void main(String[] args) {
        System.out.println("hellorord");
    }
}

  

 

// class version 52.0 (52)
// access flags 0x21
public class com/springboot/demo/Helloword {

  // compiled from: Helloword.java

  // access flags 0x1
  public <init>()V
   L0
    LINENUMBER 3 L0
    ALOAD 0
    INVOKESPECIAL java/lang/Object.<init> ()V
    RETURN
   L1
    LOCALVARIABLE this Lcom/springboot/demo/Helloword; L0 L1 0
    MAXSTACK = 1
    MAXLOCALS = 1

  // access flags 0x9
  public static main([Ljava/lang/String;)V
   L0
    LINENUMBER 5 L0
    GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
    LDC "hellorord"
    INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/String;)V
   L1
    LINENUMBER 6 L1
    RETURN
   L2
    LOCALVARIABLE args [Ljava/lang/String; L0 L2 0
    MAXSTACK = 2
    MAXLOCALS = 1
}

  

标签:lang,Ljava,java,常量,L0,public,String
来源: https://www.cnblogs.com/q1359720840/p/15894815.html