/** * */ /** * FullAddress * * @author fbergeon * */ public class FullAddress extends ShortAddress { // Full address additional fields public int houseNumber; public String street1Name; public String street2Name; public String cityName; /** * Constructor * * @param firstName * @param secondName * @param phoneNumber * @param houseNumber * @param street1Name * @param street2Name * @param cityName */ public FullAddress(String firstName, String secondName, String phoneNumber, int houseNumber, String street1Name, String street2Name, String cityName) { // Build ShortAddress superclass super(firstName, secondName, phoneNumber); // Store additional fields this.houseNumber = houseNumber; this.street1Name = street1Name; this.street2Name = street2Name; this.cityName = cityName; } }