Answered step by step
Verified Expert Solution
Question
1 Approved Answer
you decided to use a dictionary for storing phone numbers ( id as the key and phone number as the value ) . A recent
you decided to use a dictionary for storing phone numbers id as the key and phone number as the value A recent Park University grad joined your group and instead suggested using a dedicated class for storing that information create a class that has properties id and phone number and then store that class in a set to avoid having duplicates If your FIRST name begins with AM then give a reason why a dictionary is still a better choice. If your FIRST name begins with NZ then give reasons why a custom class which is later stored in a set is a better choice. Give specific examples. Make sure that at least one of the entries in your example is your own meaning it should have your student id
you decided to use a dictionary for storing phone numbers id as the key and phone number as the value A recent Park University grad joined your group and instead suggested using a dedicated class for storing that information create a class that has properties id and phone number and then store that class in a set to avoid having duplicates If your FIRST name begins with AM then give a reason why a dictionary is still a better choice. If your FIRST name begins with NZ then give reasons why a custom class which is later stored in a set is a better choice. Give specific examples. Make sure that at least one of the entries in your example is your own meaning it should have your student id
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