char变量默认会输出一个空格
package test1;
public class CharTest {
static char a;
public static void main(String[] args) {
System.out.println("[==" + a + "==]");
}
}
==============================
result: [== ==]
package test1;
public class CharTest {
static char a;
public static void main(String[] args) {
System.out.println("[==" + a + "==]");
}
}
==============================
result: [== ==]
暂无评论。
评论功能维护中,当前仅展示历史评论。