首页 新闻 会员 周边
6
回答数

回答被采纳 5 成员变量与局部变量相同

package com.donglijiedian; class A {int a =3;public void test(){ a=4; System.out.println(this.a); };