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

以下代码将打印出 public static void main(String args[]) {  List  Listlist1 = new ArrayList();  Listlist1.add(0);  List Listlist2 = Listlist1;    System.out.println(Listlist1.get(0) instanceof Integer);    System.out.println(Listlist2.get(0) instanceof Integer);}

  • A.编译错误
  • B.true true
  • C.true false
  • D.false false
提交并查看答案
下一题 上一题
Ke星伙伴们的回答/ 2个回答
关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部