java - how to get those array values randomly? -
How to get value in this string array randomly?
For example:
AG.4fF h9_wO4
So far, I have the following code:
for (string string: arry) {string random value = saw (new random). NextInt ( Arry.length)]; System.out.println ("Inside array values - -> gt; & gt;" + random value); }
For this code, it returns all array values, then to create a multi-combination.
As I mentioned earlier?
To get a string of characters
constant last String Characters = "ABCDEFGILMNOPCRSTUVXZ" + "Abcdefghijklmnopqrstuvwxyz" + "0123456789` ~ @ @ $$ ^ ^ & amp; () -_" + "= +:: '| \"
Comments
Post a Comment