Data structure & Algrothium java program Create the following classes: 1. Name.java object class containing two strings attributes first name and last name (and appropriate constructors,...


Data structure & Algrothium java program


Create the following classes:


1. Name.java object class containing two strings attributes first name and last name (and appropriate constructors, setters/getters)
2. NicePerson.java object class containing the name object and an ArrayList of string to store the list gifts ( and appropriate constructors, setters/getters). This class would extend the attached NicePersonInterface.java
3. Santa.java object class containing one ArrayList of Names to store the naughty names. Another ArrayList of NicePerson to store the nice names and gifts. Add atleast 4 names in each list and display all information.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here