Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Contact Class Requirements The contact object shall have a required unique contact ID string that cannot be longer than 10 characters. The contact ID shall
Contact Class Requirements
- The contact object shall have a required unique contact ID string that cannot be longer than 10 characters. The contact ID shall not be null and shall not be updatable.
- The contact object shall have a required firstName String field that cannot be longer than 10 characters. The firstName field shall not be null.
- The contact object shall have a required lastName String field that cannot be longer than 10 characters. The lastName field shall not be null.
- The contact object shall have a required phone String field that must be exactly 10 digits. The phone field shall not be null.
- The contact object shall have a required address field that must be no longer than 30 characters. The address field shall not be null.
Contact Service Requirements
- The contact service shall be able to add contacts with a unique ID.
- The contact service shall be able to delete contacts per contact ID.
- The contact service shall be able to update contact fields per contact ID. The following fields are updatable:
- firstName
- lastName
- Number
- Address
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