Question: 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
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. and if there is any error contains, have to ask user to input user name again.
for example:
input username: #$%he f
username can't include any special character
username can't have any empty space
input username: (ask user to input again if there is errors)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
