What is the function of the of() methods and the ofYearDay() method of the LocalDate class?
Answer: The of() methods construct a LocalDate object from a provided year, month, and day. The ofYearDay() method makes the object from a year followed by the day of the year.
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.