问答详情
源自:6-1 什么是数组

这种错误该怎么改呢?

String a[]=new String[]{32,54,q,d,E,R,21,22,23,14};

提问者:慕粉3932450 2016-09-11 12:36

个回答

  • JustWannaHugU
    2016-09-11 13:03:28
    已采纳

    同学改成这样

     String a[]={"32","54","q","d","E","R","21","22","23","14"};

  • qq_何為真何為假天知道_0
    2017-04-27 20:14:49

    数组是相同类型的集合,定义string 里面存放的数据都是string 类型的

  • 慕少7079374
    2016-09-21 20:23:32

    String a[]=new String[]{"32","54","q","d","R","21","22","23","14"};

  • qq_光环_O
    2016-09-11 13:26:03

    String a[]=new String[]{"32","54","q","d","E","R","21","22","23","14"};

  • 牙坠月3546732
    2016-09-11 13:09:11

     String a[]={"32","54","q","d","E","R","21","22","23","14"};