Question: in java Knowing what you know about random numbers from above and two methods of the String class, charAt() and length(), generate 10 random characters
in java
Knowing what you know about random numbers from above and two methods of the String class, charAt() and length(), generate 10 random characters from this string: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*() HINTS: How many characters are in the above string? How do you generate a random number in the range of indices in the above string? How do you make your code return a character at a random position? where is 'A'? Remember if you can get one random character, you can generate all 10. A sample run of this program might look like: $%FreTQ&6z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
