Question: I have to use this code to complete the program attached is the uml and what the output should look like Class Person /** *

I have to use this code to complete the program attached is the uml and what the output should look like

Class Person

/** * Constructor * Initializes fields with default values */

public Person()

{ name = "";

address = "";

phone = ""; }

/** * Constructor * Initializes fields with argument values */

public Person(String n, String a, String p)

{ name = n;

address = a;

phone = p; }

Class Customer

/** * Constructor * Initializes fields with default values */

public Customer()

{ super();

customerNumber = "";

mailingList = false; }

/** * Constructor * Initializes fields with argument values */

public Customer(String n, String a, String p, String c, boolean m)

{ super(n, a, p);

customerNumber = c;

mailingList = m; }

I have to use this code to complete the program attached isthe uml and what the output should look like Class Person /**

Name: Julie James Address: 123 Main Street Telephone: 555-1212 Customer Number: 147-A049 Mailing List: YES Person - name : String - address : String - phone : String + Person() + Person(n : String, a : String, p : String) + setName(n : String) : void + setAddress(a : String) : void + setPhone(p : String) : void + getName() : String + getAddress() : String + getPhone() : String Customer customerNumber : String mailing List : boolean + Customer() + Customer(n : String, a : String, p : String, c: String, m : boolean) + setCustomerNumber( c: String) : void + setMailing List(m: boolean) : void + getCustomerNumber() : String +getMailing List() : boolean

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!