Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.time.MonthDay;
import java.time.format.DateTimeFormatter;

public class Main {
    public static void main(String[] args) {
        MonthDay m = MonthDay.parse("10 10", DateTimeFormatter.ofPattern("M dd"));

        System.out.println(m);

    }
}