void displayId(PrintWriter stdOut, StringResources resources, IPatchBundle group, String[] ids){
for(int i=0;i<ids.length;i++)
System.out.println("Mids from cmdMds"+ids);
}
Run Code Online (Sandbox Code Playgroud)
上面的代码产生[Ljava.lang.String;@152cf21.我也尝试.toString()过,也一样.请帮助我获得实际价值.
我有两个数组说原始[]和输入[].在第一个数组中,我有3个值
1
2
3
Run Code Online (Sandbox Code Playgroud)
在第二个数组中我给出2个值
2
3
Run Code Online (Sandbox Code Playgroud)
我想检查第一个数组中是否存在这两个值我该怎么做?