Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using java program, create a Username class. ask user to type username 1)username length have to >1 and

Using java program, create a Username class.

ask user to type username

1)username length have to >1 and <15

2)username can not include any special character (ex.!@##$) ,but it also have to type Spanish or other foreign language

3)user can not include any empty space (ex. user name)

all of three error have to print out.

for example:

input username: #$%he f

username can't include any special character

username can't have any empty space

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions