Java學習總結

顯示問題:The method run cannot be declared static; static methods can only be declared in a static or top level type。 繼承 解決:當咱們繼承類的時候,準備使用裏面的方法(服務),這個類聲明必須是頂層類或者是靜態的擴展類。擴展
相關文章
相關標籤/搜索