Syntax error on token "j", VariableDeclaratorId expected after this token
packagecom.hp;publicclassTest{publicstaticvoidmain(String[]args){for(inti=0;i<=127;i+...
package com.hp;
public class Test {
public static void main(String[] args) {
for(int i = 0;i <= 127;i++){
System.out.println((char)i+" : "+i);
}
}
char j ='0';
System.out.println(j);
}
j报错了 展开
public class Test {
public static void main(String[] args) {
for(int i = 0;i <= 127;i++){
System.out.println((char)i+" : "+i);
}
}
char j ='0';
System.out.println(j);
}
j报错了 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询