Question: Write a class called Full Name that represents a persons full name. It must have separate fields for title (e.g., Mr., Mrs., Ms.), first name,

Write a class called Full Name that represents a persons full name. It must have separate fields for title (e.g., Mr., Mrs., Ms.), first name, middle name, and last name. Override the to String() method to return a nicely formatted name. Create as many methods as you think necessary. Write a class called Mailing Address that represents a mailing address. It must have separate fields for a Full Name object, street address, city, province and postal code. Other than Full Name all other fields are Strings. Override the to String() method to return a nicely formatted address. Create as many methods as you think necessary. Write a class called Shipping Label that consists of ship-from and ship-to Mailing Address objects. Write a single method that prints the label to the console. Use these statements in the method: Shipping Label label = new Shipping Label(... your parameter list ...); System.out.print ln (label); Write a simple test program in the main method of Shipping Label to test the above classes.

Step by Step Solution

3.36 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To address this task well design classes in Java to represent a persons full name and a mailing address and then use those to construct a shipping lab... View full answer

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 Programming Questions!