我有以下类:
这是编译结果:
为什么我的输出中包含一个数字?
public class Go {
public static void main(String args[]) {
System.out.println("G" + "o");
System.out.println('G' + 'o');
}
}
这是编译结果:
Go
182
为什么我的输出中包含一个数字?