Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) throws Exception {
        TimeUnit timeUnit = TimeUnit.valueOf(TimeUnit.DAYS.name());
        System.out.println(timeUnit);
    }
}