Search:

Type: Posts; User: Tjstretch

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    21,424

    Re: Check Password Program

    That what the length() method of string is for, compare that to the minimum length and voila, you have that validity check.

    Also, remember you return false if any characters are not right, but not...
  2. Replies
    8
    Views
    21,424

    Re: Check Password Program

    1: char != Character.. a quick look at the Character API and you would see that the isDigit and isLetterOrDigit would be statically called like Character.isLetterOrDigit(c) or Character.isDigit(c)...
Results 1 to 2 of 2