Fork me on GitHub

测试高亮代码

/**
 * Created by Miracle Luna on 2019/11/20
 */
public class Test2019120 {
    public static void main(String[] args) {
        int[] nums = {0, 1, 2, 3, 0, 2};
        for (int num : nums) {
            isZero(num);
        }
    }

    public static void isZero(int num) {
        if (num == 0){
            System.out.println("num is zero");
            return;
        }
        System.out.println("num is not zero, num: " + num);
    }
}
代码高亮显示问题,请参考如下博文:
https://www.cnblogs.com/miracle-luna/p/11921130.html

posted @ 2019-11-24 00:28  龙凌云端  阅读(126)  评论(0编辑  收藏  举报