[Solved] SOLVED:HW01-3: Date Class

30 $

File Name: SOLVED:HW01-3:_Date_Class.zip
File Size: 235.5 KB

SKU: [Solved] SOLVED:HW01-3: Date Class Category: Tag:

Or Upload Your Assignment Here:


Create a class called `Date` that includes three pieces of information as automatic properties—a month (type `int`), a day (type `int`) and a year (type `int`). Your class should have a constructor that initializes the three automatic properties and assumes that the values provided are correct. Provide a method `DisplayDate` that displays the month, day and year separated by forward slashes (/). Write a test app named `DateTest` that demonstrates class `Date`’s capabilities.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED:HW01-3: Date Class
30 $