scopecover.java
来自「《A first book of java》by Gary J.Bronson 」· Java 代码 · 共 11 行
JAVA
11 行
public class ScopeCover
{
private static double number = 42.8; // this variable has class scope
public static void main(String[] args)
{
double number = 26.4; // this variable has local scope
System.out.println("The value of number is " + number);
}
} // end of class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?