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);
}
The above code produces [Ljava.lang.String;@152cf21.
I tried putting .toString() too, still getting the same. Please help me to get the actual value.
Change
System.out.println("Mids from cmdMds"+ids);
To
System.out.println("Mids from cmdMds"+ids[i]);
You're trying to print the whole array each time, not the individual elements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With