Computer scienceProgramming languagesC++Basics of object-oriented programming

Classes, objects, and methods

DateClass

Report a typo

You need to write a DateClass class with 3 public fields: day, month, year.

Note that, as with a structure, order in initialization is important.

Sample Input 1:

Sample Output 1:

11112011
Write a program in C++





Create a free account to access the full topic