Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Having trouble with this one. This is for visual studio c# chapter 9. 4. Employee Class Wirite a class named Employee that has the following

Having trouble with this one. This is for visual studio c# chapter 9. image text in transcribed
4. Employee Class Wirite a class named Employee that has the following properties Name-The Name property holds the employee's name. IdNumber-The IdNumber property holds the employee's ID number. Department-The Department property holds the name of the department in which the employee works. Position-The Position property holds the employee's job title. The class should have the following overloaded constructors: A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employee's name, employee's ID number, depart- ment, and position A constructor that accepts the following values as arguments and assigns them to the appropriate properties: employee's name and ID number. The Depart- ment and Position properties should be assigned an empty string () A parameterless constructor that assigns empty strings () to the Name, Department, and Position properties, and 0 to the IdNumber property In an application, create three Employee objects to hold the following data: Name Susan Meyers Mark Jones Joy Rogers ID Number Department Position 47899 39119 81774 Vice President Accounting IT Manufacturing Engineer Programmer The each employee on the screen. application should store this data in the three objects and display the data for

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions