|Name: |Id#: |
Lab 4 Classes & Objects
Objectives:
In this Lab, you will learn: ➢ To define a class of your own and use it to create an object. ➢ To create constants variables and use it and how to write default constructors.
Lab Activities:
1. Create class Date with the following capabilities: a. Output the date in multiple formats, such as MM/DD/YYYY June 14, 1992 b. Use overloaded constructors