Question: Overview For this homework we will be creating a digital planner that can track contact details. The planner will only support a few entries. Contact


Overview For this homework we will be creating a digital planner that can track contact details. The planner will only support a few entries. Contact Classes Create the following three contact classes (note the class hierarchy): Contact PersonalContact Business Contact Classes: Contact PersonalContact BusinessContact Fields: address business Phone name city cellphone age state Zip Each class should include: The fields listed above A parameterized constructor, no default constructors Getters/setters for each field An appropriate toString0 method Planner Create a program that stores six Contact objects (three PersonalContact, three BusinessContact). Initialize your array like so: //create my contacts contacts [0 new Personal Contact contacts [1] new BusinessContact Use the following data for your contact objects Type Data Personal Joe Smith, 33, 100 Evergreen Ave, Seattle, WA, 98999 Personal Lawrence Williams, 45, 2000 1st St, Tacoma, WA, 98100 Personal Rachel Garcia, 12, 12 Forest Drive, Los Angelos, CA, 99301 Business Gregory Smith, 67, 360-888-7777, 360-555-6666 Business Jerome Bradley, 18, 216-111-2222, 253-444-7777 Business Susie Adams, 23, 253-333-7777, 425-666-9999
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
