I'm basically trying to build a random password generator in Java. I'm trying to build it using a char
array, basically:
char[] password = new char[8]
I want to be able to include "special" characters in this array (such as @
, $
, *
, etc). Can these characters be placed in a char array, and if so, how?
Put characters in array inline