Declare an integer constant, MONTHS_IN_YEAR, whose value is 12.
LANGUAGE: JAVA
CHALLENGE:
Declare an integer constant, MONTHS_IN_YEAR, whose value is 12.
SOLUTION:
final int MONTHS_IN_YEAR = 12;
Declare an integer constant, MONTHS_IN_YEAR, whose value is 12.
final int MONTHS_IN_YEAR = 12;