Search:

Type: Posts; User: JavaHater

Search: Search took 0.27 seconds.

  1. Replies
    6
    Views
    1,556

    Re: This program works but Want to improve

    the requirement should have digits and letters ( as in OP's post). what if the result of randomly choosing from all letters(upper+lower) and numbers ended up in all letters? (or all digits? ).
  2. Replies
    6
    Views
    1,556

    Re: This program works but Want to improve

    i would rather use Scanner class for your input. Also, you could probably do a shuffle() method (or use the shuffle() method from Collections class) so that your numbers and letters are jumbled up...
Results 1 to 2 of 2