在System.out.print();输入是字母,就不用在括号中输入引号,这样可以吗?
public class HelloWorld{ public static void main(String[] args){ String mylove="我爱慕课网"; String address="www.imooc.com"; System.out.print(mylove); System.out.print(address); } }
public class HelloWorld{ public static void main(String[] args){ String mylove="我爱慕课网"; String address="www.imooc.com"; System.out.print(mylove); System.out.print(address); } }
2015-12-01
举报