Computers and Technology

Coded in netbeans application and javacreate an application that lets you enter a new customer or a new employee. console display illustrationwelcome to the person managercreate customer or employee? (c/e): error! this entry is required. try again. create customer or employee? (c/e): perror! entry must be 'c' or 'e'. try again. create customer or employee? (c/e): cfirst name: stevelast name: trevorcustomer number: m10293you entered a new customer: name: steve trevorcustomer number: m10293continue? (y/n): ycreate customer or employee? (c/e): efirst name: dianalast name: princelast four of ssn: 1234you entered a new employee: name: diana princessn: xxx-xx-1234continue? (y/n): okerror! entry must be 'y' or 'n'. try again. continue? (y/n): nspecificationsuse proper statement indentation and meaningful variable names in the code. add a multi-line description of this application (to include your name and the date written) at the beginning of the code for other programmers to read. add a comment to each code statement explaining why the statement is in the code. use the console class presented in chapter 7 or an enhanced version of it to get and validate the user’s entries. create a class named person with these constructors and methods: public person(string first, string last)public string getfirstname()public void setfirstname(string x)public string getlastname()public void setlastname(string x)the person class should override the tostring() method so it returns the first name and last name in this format: name: frank jonescreate a class named customer that inherits the person class and contains these constructors and methods: public customer(string first, string last, string number)public string getcustomernumber()public void setcustomernumber(string number)the customer class should override the tostring() method so it returns the value returned by the tostring() method of the person class appended with the customer number, like this: name: frank jonescustomer number: j54128create a class named employee that inherits the person class and contains these constructors and methods: public employee(string first, string last, string ssn)public string getssn()public void setssn(string ssn)the getssn() method should return a masked version of the social security number that only reveals the last four numbers. the employee class should override the tostring() method so it returns the value returned by the tostring() method of the person class appended with the social security number, like this: name: frank jonesssn: xxx-xx-1234

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:40, vanessacasillas452
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
image
Computers and Technology, 22.06.2019 17:00, Dweath50
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server. so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
image
Computers and Technology, 22.06.2019 19:30, keke6361
When using a public computer or network, you should always
Answers: 2
image
Computers and Technology, 22.06.2019 23:00, brookerebman15
Which type of tab stop is most for weights and measurements?
Answers: 1
Do you know the correct answer?
Coded in netbeans application and javacreate an application that lets you enter a new customer or a...

Questions in other subjects:

Konu
Spanish, 04.03.2020 05:36