Question: two private short unsigned integer attributes dayOfYear and year, whereas for the date the days of a year starting from January 1st (day 1) to
two private short unsigned integer attributes dayOfYear and year, whereas for the date the days of a year starting from January 1st (day 1) to December 31st (day 365) shall be stored. 2. a static constant private array days as class variable storing the number of the days in the year until January 31st, February 28th, March 31st, ... (leap years shall not be regarded). This class variable shall be defined and initialised outside of the class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
