Java Date and Time | HACKERRANK

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();



6 views0 comments

Recent Posts

See All

Calculate BMI in Java | AskTheCode

Write a Java program that reads values for weight in kilograms and height in centimeters and prints out the BMI... interpretation of it...

"Believe you can and you're halfway there"