repl.it
@anonymous/

EsteemedReasonableRoadrunner

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.time.DayOfWeek;

public class Main {

    public static void main (String[] args) {
        System.out.println("1 = " + DayOfWeek.of(1));
        System.out.println("2 = " + DayOfWeek.of(2));
        System.out.println("3 = " + DayOfWeek.of(3));
        System.out.println("4 = " + DayOfWeek.of(4));
        System.out.println("5 = " + DayOfWeek.of(5));
        System.out.println("6 = " + DayOfWeek.of(6));
        System.out.println("7 = " + DayOfWeek.of(7));
    }

}
Fetching token
?