Java Classes

| October 22, 2018

1). Implement a
classcalledShortAddressthathasthefollowingattributes: firstName, secondName,
andphoneNumber.
Nowimplement a
classcalledFullAddressthatinheritstheaboveattributeswhileaddingtheattributes
(int) houseNumber (simply 1, 2, … etc. – i.e. no 1a or 3b’s allowed),
street1Name, street2Name andcityName. Don’tforgetto use thekeywordsuper
in theconstructor.
Finallywriteanapplicationclasstoallowtheuserto
input anaddressdetailsandthengivetheuserthechoiceofviewingthe short
addressdetailsorthelongaddressdetails.

Including
utility classes.
Use exceptionhandling to make the program robust.

This
section contains the following elements:

·
The projects only use JDK and an editor (textPad, notepad,
notepad++).
·
Use GUI based using JOptionPanes.
·
Write the source code for each class in a separate file,
which must have the same name as the class name together with the extension .java,
names commence with a capital letter.
·
Do not use Java packages to package the classes, use APIs
provided by Java SDK.
·
Give some appropriate introduction and discussion of your
answers.
·
Comments the code of the program.
·
Project must
have at least 4 classes for each question.
·
Do not use code generator.
·
References with Harvard style at least 3 Academic Articles
or books

Order your essay today and save 20% with the discount code: ESSAYHELP
Order your essay today and save 20% with the discount code: ESSAYHELPOrder Now