发布网友 发布时间:2022-04-24 04:46
我来回答
共1个回答
热心网友 时间:2023-08-08 13:02
定义并初始化方法一: String[] a = new String[3]; a[0] = "a"; a[1] = "b"; a[2] = "c"; 定义并初始化方法二: String[] b = new String[]{"a","b","c"};