Question: Create a console project named yourlastnameExercise8. Create a class for a business object of your choosing. It may not be any class discussed in class

Create a console project named yourlastnameExercise8. Create a class for a business object of your choosing. It may not be any class discussed in class or the book. The requirements for the class are as follows: 1. A minimum of three instance variables. 2. Accessor methods for the instance variables. At least one must be set up as a property. 3. Two constructor methods. An empty one and an overloaded one. The overloaded one will set the value of at least one instance variable 4. A print method that prints all the variable values and the object name. The method should end with Console.ReadLine(); 5. A method to do some kind of work with the object (like the calculate pay method discussed in class. The program (main) should create an instance of the class you created. Set the values of the variables. Run the method your created and run the print method.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!