Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started