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.
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:
11112011Create a free account to access the full topic