Answer:
The method is as follows:
static void printt() {
for(int i =1;i<=4;i++){
System.out.println(i+": All work and no play makes Jack a dull boy.");
}
}
Step-by-step explanation:
This line defines the method
static void printt() {
This line iterates through 1 to 4
for(int i =1;i<=4;i++){
This line prints the required output
System.out.println(i+": All work and no play makes Jack a dull boy.");
}
}