java,怎用调用成员变量?
下面代码怎么调用j=9;packagech5;publicclassTest{staticintj=9;publicstaticvoidmain(String[]args...
下面代码怎么调用j=9;
package ch5;
public class Test {
static int j = 9;
public static void main(String[] args) {
int j = 8;
System.out.println(j);
}
} 展开
package ch5;
public class Test {
static int j = 9;
public static void main(String[] args) {
int j = 8;
System.out.println(j);
}
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询