Entri blog oleh 101213021 王筱淳
Siapa pun di dunia
public static boolean isDateVaild(int year,int month,int day){
if(year<0)
return false;
return true;
}
or
public static int isDateVaild(int year,int month,int day){
if(year<0)
return 1;
return 2;
}