I need assistance in commenting on the enclosed code


I need assistance in commenting on the enclosed code, consider things like code layout, use of variable names, general readability and understandability.

The enclosed program implements a class called ShortAddress that has the following attributes: firstName, secondName, and phoneNumber. Also, 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. Use the keyword super in the constructor. The application class should allow the user to input address details and then give the user the choice of viewing the short address details or the long address details. This means the code should have a minimum of 3 classes for the application. Furthermore, use exception handling to make the program robust.

Attachment:- FullAddress.zip

Solution Preview :

Prepared by a verified Expert
JAVA Programming: I need assistance in commenting on the enclosed code
Reference No:- TGS01250974

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)