This is one DQ (and the only DQ) for the week. Post your Java solution to the following DQ:
1. Implement a class called ShortAddress that has the following attributes: firstName, secondName, and phoneNumber.
2.
Now implement a class called FullAddress that inherits the above
attributes while adding the attributes (int) houseNumber (simply 1, 2, âŚ
etc. – i.e. no 1a or 3b’s allowed), street1Name, street2Name and
cityName. Donât forget to use the keyword super in the constructor.3.
Finally write an application class to allow the user to input an
address details and then give the user the choice of viewing the short
address details or the long address details. This means your
final answer should have a minimum of 3 classes for the application –
you may use more if you are including utility classes.4. Use exception handling to make the program robust.





