?? scope.java
字號:
//demonstrate block scope
class scope
{
public static void main(String[] args)
{
int x = 10;
if(x == 10)
{
int y = 20;
System.out.println("x and y: " + x + " " + y);
x = y * 2;
}
//y = 100;//Eorror! y not know here
System.out.println("x is: " + x);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -