安装了win10虚拟机,决定换一个环境重新学习Java
1.转义字符public class HiWorld{ public static void main(String[] args){ System.out.print("姓名:"); System.out.println("丽丽"); System.out.print("年龄:"); System.out.println("68"); System.out.println("11111111111111"); System.out.println("11111t222"); //11111 222 System.out.println("1111t222"); //1111 222 System.out.println("11t222"); //11 222 System.out.println("11111111t222"); //11111111 222 } }
cmd运行结果:
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)