打印“HelloWorld”,是不是不会??不会就对了,好好学吧!!

转义字符的使用:\" 相当于”

public class Demo {
	public static void main(String [] args) {
		System.out.println("\"HelloWorld\"");
	}
}

猜你喜欢

转载自blog.csdn.net/weixin_43117449/article/details/82861273