Answered step by step
Verified Expert Solution
Question
1 Approved Answer
create a mehtod called checkEmail, this method should check email if the email is valid or not that should return yes is valid if it
create a mehtod called checkEmail, this method should check email if the email is valid or not that should return "yes is valid" if it valid or return no its not valid the problem with this email
valid email that achive condions
a email should has sections
username such as khalid and username should has at least chars
@ symbol
server name such as $hotmail & server name should start with special char
symbol
domainsuch as com
b domain section should be one of these domains com edu, org, net, gov mil ps jo us
Use java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started