This content has been marked as final. Show 5 replies
Where is java.lang.String.random() ?1 person found this helpful
For security purposes use http://download.oracle.com/javase/6/docs/api/java/security/SecureRandom.html
Haha April fool ;-)
Hehe, I thought I didn't remember there being a random() method in String class :)
This idea originated from a joke a coworker pushed this morning:
Q: How to generate a random String?
A: Put a fresh programmer in front of a vi session, and ask him to exit