How can we create a class that check the date is valid or not. We only can use 2 if statement and no &&
the function is something like this
public class Date { public static boolean isValidDate(int month, int day, int year) { } }
Aucun commentaire:
Enregistrer un commentaire