top of page
Click here to go to the home page of AskTheCode.

Java Date and Time | HACKERRANK

Team ATC

Updated: Sep 17, 2020

Asked: Anonymously | Category: JAVA

 

import java.time.LocalDate;

class Result {


public static String findDay(int month, int day, int year) {

LocalDate l=LocalDate.of(year,month,day);

return l.getDayOfWeek().name();


}


}



Recent Posts

See All

Kommentare


bottom of page