首页 试题广场 > 试题详情
单选题

在Java中,下面代码的输出结果为( )
public class Hello{
public static void main(String a[]) {
System.out.println("Hello");
System.out.print("欢迎来到\n");
System.out.println("北大青鸟!");
}
}

  • A.Hello
    欢迎来到北大青鸟!
  • B.Hello
    欢迎来到
    北大青鸟!
  • C.Hello
    欢迎来到\n北大青鸟!
  • D.编译时出错
提交并查看答案
下一题 上一题
Ke星伙伴们的回答/ 431个回答
关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部