code: public static String getAlphapticPassowrds(final int numberOfChar, final boolean islowerCase) {
  		double randomNumber;
  		double randomNumberSetup;
  		char randomCharacter;
  		String password = "";
  		for (int i = 0; i < numberOfChar; i++) {
  			randomNumber = Math.random();
  			randomNumberSetup = randomNumber * 26 + 'a';
  			randomCharacter = (char) randomNumberSetup;
  			password += randomCharacter;
  
  		}
  		return islowerCase ? password : password.toUpperCase();
  	}
docs: //////////////////////////////////////////////////////////