Question: Using C# programming Question 1 [ 2 .5 marks]: Find an object in your home and create a proper UML for it. This object has

Using C# programming

Question 1 [2.5 marks]:

Find an object in your home and create a proper UML for it. This object has to have at least 4 properties ( 2 numbers (either integer or float) and 2 strings ( you may have more if its needed)

Make sure to create accessors for each property in your UML.

Make sure to set all the data privacy and return type properly.

Make sure at least have 2 constructors for your class.

Add at least 2 non-static function you see fit to that object.

Question 2 [2.5 marks]:

Create the class from the UML created. Make sure to implement the overload for your constructor, the accessors and overriding the toString() properly.

Create an array of 4 from your object and show the information in your main() with a for loop.

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!