無法創(chuàng)建equals方法
there?are?no?non-static?fields?in?this?class.Cannot?create?equals()?and?hashCode()?methods.
創(chuàng)建equals方法時的對話框提示信息。
there?are?no?non-static?fields?in?this?class.Cannot?create?equals()?and?hashCode()?methods.
創(chuàng)建equals方法時的對話框提示信息。
2015-07-17
舉報
2015-07-21
public static int equals();
你要覆蓋Object類的靜態(tài)方法,不加static不行的
2015-07-20
equals方法無法重寫
2015-07-18
???