Computers and Technology
Computers and Technology, 09.04.2021 02:00, shiny9362

Preferably JAVA Programming 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)
java programing:
YOU MAY NOT EVER:
Use global variables.
Use the word goto.
Use the break command outside a case statement.
Previous Next

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:30, shelley3135
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 2
image
Computers and Technology, 23.06.2019 09:00, vetterk1400
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
image
Computers and Technology, 23.06.2019 18:00, taiyana74
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, iicekingmann
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
Do you know the correct answer?
Preferably JAVA Programming Create a program that has at least three classes. The class with main....

Questions in other subjects:

Konu
Mathematics, 11.02.2021 16:20
Konu
Arts, 11.02.2021 16:20
Konu
Health, 11.02.2021 16:20
Konu
Mathematics, 11.02.2021 16:20