Question: The StreetAddress class has this constructor: StreetAddress ( String street, String city, String state, St ( ring zip ) ; and the following methods: void
The StreetAddress class has this constructor:
StreetAddress String street, String city,
String state, String zip;
and the following methods:
void setStreet String street; and String getStreet;
void setCity String city; and String getCity;
void setState String state; and String getState;
void setZIP String zip; and String getZIP;
String mailingLabel;
The last of these returns the mailing address on two lines in the following form:
street
city, state zip
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
