subject
Computers and Technology, 14.03.2020 00:18 kaperry

Create a program that has at least three classes. The class with main. A class that defines a Name (first name, middle name, and last name). A class that defines a Person (name, gender, age, and salary). (You can add other classes if you want.) Then, define all setters and getters, constructors and toString methods. Then, create and attach a UML for the Person and Name classes. You do not need to create or attach a design tool for this assignment (other than the UMLs). Specifications for the main: The program will create and populate at least three different people. The program will allow a user to change the fields for a person. The program will output the data for all three people. Rules: Gender must have three possible values: M, F or O (other). Age must be between 1 and 120. Salary must be a positive number. The first and last name must be in sentence case. (Billy Armstrong) A middle name is optional (the code will account for this)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
Answers: 2
question
Computers and Technology, 23.06.2019 19:40
Use a physical stopwatch to record the length of time it takes to run the program. calculate the difference obtained by calls to the method system.currenttimemillis() just before the start of the algorithm and just after the end of the algorithm. calculate the difference obtained by calls to the method system.currenttimemillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. use the value returned by the method system.currenttimemillis() just after the end of the algorithm as the elapsed time.
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
You know the right answer?
Create a program that has at least three classes. The class with main. A class that defines a Name (...
Questions
question
Mathematics, 15.10.2021 02:10
question
Social Studies, 15.10.2021 02:20
Questions on the website: 13722367