Search:

Type: Posts; User: ppme

Search: Search took 0.06 seconds.

  1. Replies
    8
    Views
    21,418

    Re: Check Password Program

    Don't have the counter checker within the loop, because otherwise on the first char check, it checks the count <2 and finds it is false, then returns false, and the method terminates.

    I see you...
  2. Replies
    8
    Views
    21,418

    Re: Check Password Program

    I would add in a counter and use the isDigit() method and if there is less than 2 digits, return false.

    More than likely not the best solution.. I have 3 semesters of java over me in college so...
Results 1 to 2 of 2