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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!