?? v.java.bak
字號:
class A
{
int x=3;
public void m()
{
System.out.println("the x of A is "+x);
}
}
class V extends A
{
double x=20.67; //也可定義為其它類型,如double x;
public void m()
{
System.out.println("the x of V is "+x);
System.out.println("the x of superclass is "+super.x);
super.m();
}
public static void main(String[] args)
{
V b = new V();
b.m();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -