父類方法中使用this,那麼這個this指的是誰?

一直在用一些東西,卻老是感受有一些疑惑,今天發現了本身一個及其致命的意識錯誤。關於父類中this關鍵字究竟是誰的問題。請看代碼html 父類Parentjava public class Parent { public Parent(){ System.out.println("父類本身---->"+this); } public void onCreate(){ System.ou
相關文章
相關標籤/搜索