subject

1. Design an Employee class for a hotel for use in programs. We need an Employee object with these attributes: Name
Designation (ex. Manager, Supervisor, Waiter, Bellhop, etc.)
ID number
Some details:
ID Numbers should already be known at time of object's creation. Assume it is an 8 digit number.
The ID Number can never be changed
Use strings to represent the Name and Designation
It is possible to change an employee's Name and Designation
Be sure to provide a __str__ method that prints a description of the employee
2. Design and implement this class. Be sure to include an appropriate constructor ( __init__ ) and getter and setter methods where needed.
There will potentially be some design decisions for you to make.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 22.06.2019 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
You know the right answer?
1. Design an Employee class for a hotel for use in programs. We need an Employee object with these a...
Questions
question
Advanced Placement (AP), 03.10.2021 04:30
question
Mathematics, 03.10.2021 04:30
Questions on the website: 13722367