this的使用

this的使用

this只能用在构造函数和成员方法内部(声明时也可以用)

static标识的方法里不能用this

posted @ 2018-09-30 23:14  Monica_维维  阅读(74)  评论(0编辑  收藏  举报