![]() |
VOOZH | about |
public static MonthDay now()Parameters: This method does not accept any parameter. Return value: This method returns the current month-day using the system clock and default time-zone. Below programs illustrate the now() method of MonthDay in Java: Program 1:
MonthDay: --05-09
Month: MAY