SlideShare a Scribd company logo
CODING CHALLENGE 4 Copy the following class into the code cell below and change it so that it
contains a no-argument constructor that initializes month to 1 , day to also 1 , and year to 1900 .
After that create two objects of this class: one in the stack and another in the heap. Use the dot
operator and the arrow operators with these objects respectively to call the showDate() function.

More Related Content

More from aggarwalcollection1

Compare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdfCompare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdf
aggarwalcollection1
 
Compare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdfCompare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdf
aggarwalcollection1
 
Compare human and Gut bacteria E coli the two species gl.pdf
Compare human and Gut bacteria E coli  the two species gl.pdfCompare human and Gut bacteria E coli  the two species gl.pdf
Compare human and Gut bacteria E coli the two species gl.pdf
aggarwalcollection1
 
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdfCompare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
aggarwalcollection1
 
Combined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdfCombined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdf
aggarwalcollection1
 
Companies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdfCompanies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdf
aggarwalcollection1
 
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdfCOMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
aggarwalcollection1
 
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdfCOLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
aggarwalcollection1
 
Companies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdfCompanies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdf
aggarwalcollection1
 
Common stock value Constant growth Use the constantgrowth .pdf
Common stock value Constant growth  Use the constantgrowth .pdfCommon stock value Constant growth  Use the constantgrowth .pdf
Common stock value Constant growth Use the constantgrowth .pdf
aggarwalcollection1
 
Clostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdfClostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdf
aggarwalcollection1
 
Como director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdfComo director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdf
aggarwalcollection1
 
Como epidemiloga que trabaja para la Organizacin Mundial d.pdf
Como epidemiloga que trabaja para la Organizacin Mundial d.pdfComo epidemiloga que trabaja para la Organizacin Mundial d.pdf
Como epidemiloga que trabaja para la Organizacin Mundial d.pdf
aggarwalcollection1
 
Common stock valueVariable growth Lawrence Industries most .pdf
Common stock valueVariable growth Lawrence Industries most .pdfCommon stock valueVariable growth Lawrence Industries most .pdf
Common stock valueVariable growth Lawrence Industries most .pdf
aggarwalcollection1
 
Commonly traded organizational currencies to benefit one ano.pdf
Commonly traded organizational currencies to benefit one ano.pdfCommonly traded organizational currencies to benefit one ano.pdf
Commonly traded organizational currencies to benefit one ano.pdf
aggarwalcollection1
 
Comide the follswing function fZA2fx2x+3 Which of the f.pdf
Comide the follswing function fZA2fx2x+3 Which of the f.pdfComide the follswing function fZA2fx2x+3 Which of the f.pdf
Comide the follswing function fZA2fx2x+3 Which of the f.pdf
aggarwalcollection1
 
Comience con una descripcin de la oviparidad y la viviparid.pdf
Comience con una descripcin de la oviparidad y la viviparid.pdfComience con una descripcin de la oviparidad y la viviparid.pdf
Comience con una descripcin de la oviparidad y la viviparid.pdf
aggarwalcollection1
 
Common property resources like fish stocks in open waters te.pdf
Common property resources like fish stocks in open waters te.pdfCommon property resources like fish stocks in open waters te.pdf
Common property resources like fish stocks in open waters te.pdf
aggarwalcollection1
 
CMW Cola is a large mature firm with total assets of 50 bil.pdf
CMW Cola is a large mature firm with total assets of 50 bil.pdfCMW Cola is a large mature firm with total assets of 50 bil.pdf
CMW Cola is a large mature firm with total assets of 50 bil.pdf
aggarwalcollection1
 
Coat color and spotting pattern in the Cocker Spaniel depend.pdf
Coat color and spotting pattern in the Cocker Spaniel depend.pdfCoat color and spotting pattern in the Cocker Spaniel depend.pdf
Coat color and spotting pattern in the Cocker Spaniel depend.pdf
aggarwalcollection1
 

More from aggarwalcollection1 (20)

Compare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdfCompare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdf
 
Compare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdfCompare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdf
 
Compare human and Gut bacteria E coli the two species gl.pdf
Compare human and Gut bacteria E coli  the two species gl.pdfCompare human and Gut bacteria E coli  the two species gl.pdf
Compare human and Gut bacteria E coli the two species gl.pdf
 
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdfCompare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
 
Combined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdfCombined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdf
 
Companies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdfCompanies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdf
 
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdfCOMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
 
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdfCOLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
 
Companies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdfCompanies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdf
 
Common stock value Constant growth Use the constantgrowth .pdf
Common stock value Constant growth  Use the constantgrowth .pdfCommon stock value Constant growth  Use the constantgrowth .pdf
Common stock value Constant growth Use the constantgrowth .pdf
 
Clostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdfClostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdf
 
Como director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdfComo director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdf
 
Como epidemiloga que trabaja para la Organizacin Mundial d.pdf
Como epidemiloga que trabaja para la Organizacin Mundial d.pdfComo epidemiloga que trabaja para la Organizacin Mundial d.pdf
Como epidemiloga que trabaja para la Organizacin Mundial d.pdf
 
Common stock valueVariable growth Lawrence Industries most .pdf
Common stock valueVariable growth Lawrence Industries most .pdfCommon stock valueVariable growth Lawrence Industries most .pdf
Common stock valueVariable growth Lawrence Industries most .pdf
 
Commonly traded organizational currencies to benefit one ano.pdf
Commonly traded organizational currencies to benefit one ano.pdfCommonly traded organizational currencies to benefit one ano.pdf
Commonly traded organizational currencies to benefit one ano.pdf
 
Comide the follswing function fZA2fx2x+3 Which of the f.pdf
Comide the follswing function fZA2fx2x+3 Which of the f.pdfComide the follswing function fZA2fx2x+3 Which of the f.pdf
Comide the follswing function fZA2fx2x+3 Which of the f.pdf
 
Comience con una descripcin de la oviparidad y la viviparid.pdf
Comience con una descripcin de la oviparidad y la viviparid.pdfComience con una descripcin de la oviparidad y la viviparid.pdf
Comience con una descripcin de la oviparidad y la viviparid.pdf
 
Common property resources like fish stocks in open waters te.pdf
Common property resources like fish stocks in open waters te.pdfCommon property resources like fish stocks in open waters te.pdf
Common property resources like fish stocks in open waters te.pdf
 
CMW Cola is a large mature firm with total assets of 50 bil.pdf
CMW Cola is a large mature firm with total assets of 50 bil.pdfCMW Cola is a large mature firm with total assets of 50 bil.pdf
CMW Cola is a large mature firm with total assets of 50 bil.pdf
 
Coat color and spotting pattern in the Cocker Spaniel depend.pdf
Coat color and spotting pattern in the Cocker Spaniel depend.pdfCoat color and spotting pattern in the Cocker Spaniel depend.pdf
Coat color and spotting pattern in the Cocker Spaniel depend.pdf
 

Recently uploaded

plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
Nguyen Thanh Tu Collection
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
Vivekanand Anglo Vedic Academy
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
Special education needs
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

CODING CHALLENGE 4 Copy the following class into the code ce.pdf

  • 1. CODING CHALLENGE 4 Copy the following class into the code cell below and change it so that it contains a no-argument constructor that initializes month to 1 , day to also 1 , and year to 1900 . After that create two objects of this class: one in the stack and another in the heap. Use the dot operator and the arrow operators with these objects respectively to call the showDate() function.