public class Day { private static int day; private int days; public Day(int day) { Day.day = day; } public void main(String[] args) { } { System.out.println(this.toString()); } private static final int SUNDAY = 0; private static final int MONDAY = 1 ; private static final int TUESDAY = 2; private static final int WEDNESDAY = 3; private static final int THURSDAY = 4; private static final int FRIDAY = 5; private static final int SATURDAY = 6; static { return switch (day) { case SUNDAY -> "Sun"; case MONDAY -> "Mon"; case TUESDAY -> "Tue"; case WEDNESDAY -> "Wed"; case THURSDAY -> "Thu"; case FRIDAY -> "Fri"; case SATURDAY -> "Sat"; default -> ""; } >>> LINE 47 } static { System.out.println("Test Program For The Day Class"); System.out.print("\nInitial day: "); Day d = new Day(day); d.print(); System.out.print("\nNext day: "); d.setDay(); d.print(); System.out.print("\nNext day again: "); d.setDay(); d.print(); System.out.println("\nUsing getDay() and toString() methods"); System.out.println("\tDay Index: " + d.getDay()); System.out.println("\tDay Name: " + d); System.out.print("\nPrevious day: "); d.setDay(); d.print(); System.out.print("\nNext week: "); d.setDay(); d.print(); System.out.print("\nAdd 3 days: "); d.setDay(); d.print(); } private boolean getDay() { return false; } private void setDay() { } private void print() { } }