![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 18.09.2019 19:00 kbelizaire6
Due: tuesday, 9/10 @ 11: 59pm you have the templates of 2 classes, person and program. the person class has 4 attributes, name, age, major and gpa. there is a constructor for the class that is used to make person objects. there are setter/mutator methods and getter/accessor methods for those attributes. there is also a printinfo() method that prints out information about the person. the program class has a main method that has 5 person objects person to person declared and initialized. the main method within the class also has a scanner object that is used to take input for a person number and a newgpa. your task is as follows: a. based on the input of person select select the appropriate person and change their gpa to the newgpa input and then print out their information. for instance if the user types in 1 then select person 1 and print out their information using the printinfo method. do it for all possible inputs from 1 to 5. b. if however the input is not 1 to 5 then inform the user they have to have to type in an appropriate person number. print the following statement: " select a person number between 1 and 5."
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00, babbybronx
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:30, elizabethburkha
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
![image](/tpl/images/cats/informatica.png)
You know the right answer?
Due: tuesday, 9/10 @ 11: 59pm you have the templates of 2 classes, person and program. the person c...
Questions in other subjects:
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/geografiya.png)
Geography, 07.04.2020 01:27
![Konu](/tpl/images/cats/mat.png)
Mathematics, 07.04.2020 01:27
![Konu](/tpl/images/cats/mat.png)
Mathematics, 07.04.2020 01:27
![Konu](/tpl/images/cats/fizika.png)
Physics, 07.04.2020 01:27
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/ekonomika.png)