super Reference variable referring to the immediate superclass.
this Reference variable referring to the current instance of an object.
void Indicates no return type for a method.
super与this关键字详解
本文主要介绍了super引用变量指向直接父类的概念,以及this引用变量指向当前对象实例的作用。此外,还提到了方法中void关键字的含义,即方法没有返回值。
super Reference variable referring to the immediate superclass.
this Reference variable referring to the current instance of an object.
void Indicates no return type for a method.
5666
188

被折叠的 条评论
为什么被折叠?
