subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 13:30
The source manager dialog box allows you to create sources, copy sources created and used in all the documents, modify sources an add bibliographic information to placeholders. true or false
Answers: 2
question
Computers and Technology, 22.06.2019 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 22.06.2019 14:40
For this assignment you have to write a c program that will take an infix expression as input and display the postfix expression of the input. after converting to the postfix expression, the program should evaluate the expression from the postfix and display the result. what should you submit? write all the code in a single file and upload the .c file. compliance with rules: ucf golden rules apply towards this assignment and submission. assignment rules mentioned in syllabus, are also applied in this submission. the ta and instructor can call any students for explaining any part of the code in order to better assess your authorship and for further clarification if needed. problem: we as humans write math expression in infix notation, e.g. 5 + 2 (the operators are written in-between the operands). in computer's language, however, it is preferred to have the operators on the right side of the operands, ie. 5 2 +. for more complex expressions that include parenthesis and multiple operators, a compiler has to convert the expression into postfix first and then evaluate the resulting postfix write a program that takes an "infix" expression as input, uses stacks to convert it into postfix expression, and finally evaluates it. it must support the following operations: + - / * ^ % ( example infix expression: (7-3)/(2+2) postfix expression: 7 3 2 2 result: rubric: 1) if code does not compile in eustis server: 0. 2) checking the balance of the parenthesis: 2 points 3) incorrect postfix expression per test case: -2 points 4) correct postfix but incorrect evaluation per test case: -i points 5) handling single digit inputs: maximum 11 points 6) handling two-digit inputs: 100 percent (if pass all test cases)
Answers: 3
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
You know the right answer?
Coded in netbeans application and javacreate an application that lets you enter a new customer or a...
Questions
question
Arts, 08.01.2021 21:20
question
Mathematics, 08.01.2021 21:20
question
Mathematics, 08.01.2021 21:20
Questions on the website: 13722362