What is the value of randNum when the while statement is first executed?
Read the API doc to see what that method returns.
Write a small simple test program with a String and a value for...
Type: Posts; User: Norm
What is the value of randNum when the while statement is first executed?
Read the API doc to see what that method returns.
Write a small simple test program with a String and a value for...
Can you explain how the code you posted in post#3 is supposed to work?
Copy the code here and add a comment to each statement describing what it is supposed to do.
Explain how and when each...
What happens when you execute that code? What is printed out at the end for the value of password?
Can you count the number of characters added to build the password and stop when the desired length is reached?
Where is anything put into the password variable?