当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given:Which code inserted at line 16 will cause a java.lang.ClassCastException?()


A、Alpha a = x;

B、Foo f = (Delta)x;

C、Foo f = (Alpha)x;

D、Beta b = (Beta)(Alpha)x;

参考答案
您可能感兴趣的试题
  • By presupposition, we refer to a meaning taken as given which does not therefore need

  • SQL命令中用于插入数据的命令是 A)INSERT B)APPEND C)INSERT BEFORE D)INSERT INTO

  • ●The sorting method described by the code is called ()。()A. Insertion sort B. Selection s

  • Wang Li is ___ a new marketing campsign at the moment.

  • ______ asked ______ to call at 7667338. A Telephone Message From: Zhang Wei To: Li Qiang Date: January 9th Time: 10:30 a.m. Message: Your friend Zhang Wei called you just now. He asked you to call him

  • RADIUS计费开始报文中CODE值为4 计费结束报文中CODE值为5。()