Java中如何实现换行输出与一条输出语句多对象输出?
public class HelloWorld{
public static void main(String[] args) {
String hobby = "我爱慕课网";
String address = "www.imooc.com";
//System.out.println(hobby);
//System.out.println(address);
System.out.println(+hobby\n+address);
}
}