r/javahelp • • Jul 19 '17

Alphanumeric password input

I'd like to have an idea on how to make this program please.

It asks for an input password that meets these conditions:

-at least 6 characters long

-contains 1 capital letter or more

-alphanumeric

It denies the input if it doesn't meet those conditions, no need to hide it in asterisks.

I'm kinda new to Java and any kind of help will be appreciated

0 Upvotes

5 comments sorted by

View all comments

•

u/desrtfx Out of Coffee error - System halted Jul 19 '17

What have you tried?

So far, your post shows zero effort from your side. This is a strict no-go in this subreddit. You need to at least try something.

1

u/BreastChaser Jul 19 '17

my only problem is how to measure the string length now

1

u/BreastChaser Jul 19 '17

oh wait done now