Question: Why is a constructor used for the Date type instead of an init_day() function?
Why is a constructor used for the Date type instead of an init_day() function?
Step by Step Solution
3.40 Rating (175 Votes )
There are 3 Steps involved in it
The compiler does not know all the types we might like to use in our programs It couldnt because the... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
2083_61d6ac3448745_853039.pdf
180 KBs PDF File
2083_61d6ac3448745_853039.docx
120 KBs Word File
