The declared an int constant can be written with static final in Java.
Static in declared variable mean the variable will have same value in all class in Java.
Final in declared variable mean the variable will have a value that can't be changed in Java.
Since the both case want to create constant integer data it mean the data will have same value in all class and can't be changed.
So the code for the first question is,
static final int MONTHS_IN_YEAR = 12;
The code for the second question is,
static final int MONTHS_IN_DECADE = MONTHS_IN_YEAR*10;
Learn more about Java here:
brainly.com/question/14789626
#SPJ4