请教:假设Vars 中设定Array<Integer> id1; Array<Integer> id2; …… 如果“id”部分不变,如何让数字“1”部分作为变量,比如写成idn,“n”部分是1就用id1,是2就用id2
你定义改为Array<Array<Integer>> ids; 不行吗?
谢谢。豁然开朗