Question
To whom it may concern I would like some help with an assessment, Assessment item 2JAVA Program using array of objects i am having trouble
To whom it may concern
I would like some help with an assessment, Assessment item 2JAVA Program using array of objects
i am having trouble storing the required variables in an Array
i have to
Declare an array of Tax objects as an instance variable inside TaxGUI class,
prompt the user for their name and their income,and then add these values of name and income to the array of Tax objects
by creating an instance of each of the Tax objects. and then pass the name and income to the
object via the parameterised constructor.
my question is how is it possible to make an array that passes the name and income to the object via the parameterised constructor. if so can i see an example
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