📄 test.java
字号:
package cn.mybole;
//import com.sunwinlight.Test2;
public abstract class Test //extends com.sunwinlight.Test2
{
public void pubMethod()
{
System.out.println("pubMethod");
}
protected abstract void proMethod();
/*{
System.out.println("proMethod");
}*/
void defMethod()
{
System.out.println("defMethod");
}
private void priMethod()
{
System.out.println("priMethod");
}
public static void main(String [] args)
{
System.out.println("package test");
//Test2 t = new Test2();
/*Test t = new Test();
t.pubMethod();
t.proMethod();
t.defMethod();
t.priMethod();*/
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -