Question: Question 1 ( Composition and ArrayList ) : ? ? 2 1 ? ? ? Preparation: Create a new NetBeans project called Question 1 .

Question 1(Composition and ArrayList):
??21???
Preparation:
Create a new NetBeans project called Question1.
Download and extra the needFilesCT2.zip from EC.
Add the provided Household.jar file to the "Libraries" for Question1 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 1 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 1.1) and description table (Table 2.1) and the provided documentation of the Household class and complete the Census concrete class.
\table[[oop.census.Census],[- year: int],[- households: ArrayList
 Question 1(Composition and ArrayList): ??21??? Preparation: Create a new NetBeans project

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!