Entri blog oleh 101213021 王筱淳

Gambar 101213021 王筱淳
by 101213021 王筱淳 - Rabu, 10 April 2013, 6:23 PTG
Sesiapapun 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;
}