EssayNICE | 24/7 Homework Help

Essaynice Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

Assignment help 8105

by | Jun 24, 2023 | Posted Assignments

Create a Job class that has 3 properties: a job number, estimated hours, and price for the job. You need to use an auto-implemented property for the job number, and provide get and set accessors for estimated hours. The price field value is calculated as estimated hours times $45 whenever the hours values is set, and the Price property is read-only. Create a constructor that requires parameters for job number and estimated hours only. Also, include a ToString()method that overrides the Object class’s ToString() method and returns a string that contains the class name (using GetType()) and the job’s data field values.

The Job class has a child class named RushJob that includes an auto-implemented property, which holds an additional charge for the job. For the RushJob class, you need to create a constructor that accepts job number, estimated hours, and additional charge. Also, override the Object class’s ToString() method and return a string that contains the class name and all data field values, as well as the total price (i.e., price + additional charge).  

Finally, create an application class named JobDemo that instantiates one Job object and one RushJobobject. Then call ToString() method and display the info of each object on the screen.

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

Open chat
1
Powered by essaynice
Hello! Welcome to to our whatapp support.
We offer READY solutions, HIGH QUALITY PLAGIARISM FREE essays and term-papers.

We are online and ready to help