public static String driversLicense ( ) { StringBuffer dl = new StringBuffer ( JDefaultAddress . stateAbbr ( ) ) ; dl . append ( "-" ) ; dl . append ( JDefaultNumber . randomNumberString ( 8 ) ) ; return dl . toString ( ) ; }
Creates a Driver s license in the format of 2 Letter State Code Dash 8 Digit Random Number ie CO - 12345678