Question: Question 1 ( Composition and ArrayList ) : ? ? 2 1 ? ? ? Preparation: Create a new NetBeans project called Question 1 .
Question Composition and ArrayList:
Preparation:
Create a new NetBeans project called Question
Download and extra the needFilesCTzip from EC
Add the provided Household.jar file to the "Libraries" for Question project.
Remember to Edit the Household library and add the extracted "javadoc" folder as the Javadoc for this library.
Now add a new packaged Java Class called Census to the project and complete the class as described below.
The questions:
Every four or five years the government needs to count the number of residences to determine the population of the republic. The process of counting the citizens is known as conducting a census. It means that someone will go to a house and count the number of people that lives there. You need to create the Census concrete class to assist in the process of counting the number of citizens in the republic.
Note that you will NOT submit your FULL SOLUTION all your source code for this question. Login on to EC and under section your will find figures with missing pieces of code for a suggested solution for this problem. Make sure you only submit the pieces of code that is missing as is requested on EC
Follow the given UML class diagram Table and description table Table and the provided documentation of the Household class and complete the Census concrete class.
tableoopcensus.Census year: int households: ArrayList
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
