阅读下面代码 public class Jixiangwu {  public static void main(String[] args) {   String[] stars={"贝贝","晶晶","欢欢","迎迎","妮妮"};

admin2012-03-21  38

问题 阅读下面代码    public class Jixiangwu {     public static void main(String[] args) {      String[] stars={"贝贝","晶晶","欢欢","迎迎","妮妮"};      System.out.println("你抽取的奥运吉祥物是"+      "“"+stars[(int)(stars. ______ *Math.random())]+"”"+"!");     }    }    为保证程序能正确执行,程序中下画线处应填写的是

选项 A、long
B、width
C、wide
D、length

答案D

解析
转载请注明原文地址:https://kaotiyun.com/show/CB2p777K
0

随机试题
最新回复(0)