tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Articles > Misc > How to generate a Random Alpha numeric string

How to generate a Random Alpha numeric string

The below example shows how to generate a Random Alpha numeric string in Java. If you are using Apache commons library this is pretty straight forward.

Another simple approach is using UUID

Here is another alternaive without any dependency on external libararies.


 
  


  
bl  br