long temp=(int)3.9;
        System.out.println(temp);
        temp%=2;
        System.out.println(temp);
3
1
View Code

相关文章: