Implement the following in java, write all classes need in the following application, in addition to demo class that contains main method to test your application A customer has already account with a particular Website (Mawdoo3). This account holds all data related to the user such as name, phone num, email. Mawdoo3 site applies a new button to validate your phone num, but they need to not affect the existing application. Instead, they need to build adapter that can access validate phone num service and make it available for Mawdoo3 customers. When a customer needs to perform a validate phone num, the account cannot access directly Mawdoo3 account detail, but instead it can access adapter to complete the transaction. Validation phone number process includes the following 1. There must be two underscores ) in the phone num Also Number of characters including underscores equal 13. a. if the customer's phone num is valid, the new service will return valid "phone num" and if not, the service will return "not valid" b. The application will print the returned message to the user

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 13RQ
icon
Related questions
Question
QUESTION 2:
Implement the following in java, write all classes need in the following application, in
addition to demo class that contains main method to test your application
A customer has already account with a particular Website (Mawdoo3). This account holds
all data related to the user such as name, phone num, email. Mawdoo3 site applies a new
button to validate your phone num, but they need to not affect the existing application.
Instead, they need to build adapter that can access validate phone num service and make it
available for Mawdoo3 customers. When a customer needs to perform a validate phone
num, the account cannot access directly Mawdoo3 account detail, but instead it can access
adapter to complete the transaction.
Validation phone number process includes the following
1. There must be two underscores () in the phone num
Also Number of characters including underscores equal 13.
a. if the customer's phone num is valid, the new service will return valid "phone num"
and if not, the service will return "not valid"
b. The application will print the returned message to the user
Transcribed Image Text:QUESTION 2: Implement the following in java, write all classes need in the following application, in addition to demo class that contains main method to test your application A customer has already account with a particular Website (Mawdoo3). This account holds all data related to the user such as name, phone num, email. Mawdoo3 site applies a new button to validate your phone num, but they need to not affect the existing application. Instead, they need to build adapter that can access validate phone num service and make it available for Mawdoo3 customers. When a customer needs to perform a validate phone num, the account cannot access directly Mawdoo3 account detail, but instead it can access adapter to complete the transaction. Validation phone number process includes the following 1. There must be two underscores () in the phone num Also Number of characters including underscores equal 13. a. if the customer's phone num is valid, the new service will return valid "phone num" and if not, the service will return "not valid" b. The application will print the returned message to the user
Expert Solution
steps

Step by step

Solved in 4 steps with 7 images

Blurred answer
Knowledge Booster
Development strategies
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT