package com.shrimpking.t7;
/**
* Created by IntelliJ IDEA.
*
* @Author : Shrimpking
* @create 2024/9/16 15:05
*/
public class NormalCodeBlock
{
public static void main(String[] args)
{
//普通代码块
{
int x = 10;
System.out.println("普通代码块内,x=" + x);
}
int x = 100;
System.out.println("x= " + x);
}
}
标签:int,代码,System,println,NormalCodeBlock,public,out
From: https://blog.51cto.com/u_15356972/12089178