?? test.java
字號:
class Base
{
public boolean equals(Object obj)
{
if (obj instanceof Base){}
//...
return true;
}
}
class Derived extends Base
{}
class test
{
public static void main(String args[])
{
Base b = new Base();
Derived d = new Derived();
//if (d.equals(b)) //Potentially true if Base attributes are equal
//if (b.equals(d)) //Potentially true if Base attributes are equal
//...
} }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -