Can Anyone Show Me How To Create This Java Program?
-
Write a Java program that validates an email address: 1. Using GUI to ask a user to enter a website address in the form of www.xxx.com, etc. 2. Validate that the website has www as the first 3 characters, followed by a dot (.), and then any valid name of the organization (characters/numbers), followed by a dot, and the end should be one of com, net, edu, gov, org, net. Using GUI to print out the valid one and the invalid one, saying why it is not valid. Then ask user to enter an Email address and do the same validation and printout. Please, I need all the help I can get. Thanks, ab28405
-
Answer:
String ws = getInput(); // use String methods to check the first 3 chars // and then the rest of the string... String ea = getInput(); // use String methods to check the string... http://www.google.co.uk/search?q=java+String&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Shinigam... at Yahoo! Answers Visit the source
Related Q & A:
- how to Create a Java Package from MATLAB Code?Best solution by Stack Overflow
- How to create a java applet?Best solution by Stack Overflow
- Can anyone tell me how to select a University in Aus or NZ to study MA or MS or MBA in Communication?Best solution by Yahoo! Answers
- Can anyone in Italy help me create an Italian Hotmail account?Best solution by Yahoo! Answers
- Can anyone tell my how you can tell if your child has Apraxia of speech?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.