subject

Write a class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title.

Once you have written the class, write a python program that creates 3 Employee objects to hold the following data:
Name: Susan Meyers, ID number: 47899, Department: Accounting, Job Title: Vice President
Name: Mark Jones, ID Number: 39119, Department: IT, Job Title: Programmer
Name: Jon Rogers, ID Number: 81774, Department: Manufacturing, Job Title: Engineer
The prgram should store this data in the 3 objects and then display the data for each employee on the screen.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
An attribute on a webpage allows you to set borders and change background colors. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
File account.java (see previous exercise) contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and account number, and return a string representation. note that the constructor for this class creates a random account number. save this class to your directory and study it to see how it works. then write the following additional code: 1. suppose the bank wants to keep track of how many accounts exist. a. declare a private static integer variable numaccounts to hold this value. like all instance and static variables, it will be initialized (to 0, since it’s an int) automatically. b. add code to the constructor to increment this variable every time an account is created. c. add a static method getnumaccounts that returns the total number of accounts. think about why this method should be static - its information is not related to any particular account. d. file testaccounts1.java contains a simple program that creates the specified number of bank accounts then uses the getnumaccounts method to find how many accounts were created. save it to your directory, then use it to test your modified account class.
Answers: 3
question
Computers and Technology, 23.06.2019 18:50
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Answers: 2
You know the right answer?
Write a class named Employee that holds the following data about an employee in attributes: name, ID...
Questions
question
History, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
History, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
English, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Health, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
English, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
question
Social Studies, 16.09.2020 09:01
question
Mathematics, 16.09.2020 09:01
Questions on the website: 13722367