java for 循环执行顺序

public static void main(String[] args)

        {

                int x = 1;

                for(show('a'); show('b') && x<3; show('c'))

                {

                        show('d');

                        x++;

                }

        }

        public static boolean show(char ch)

        {

                System.out.println(ch);

                return true;

        }

猜你喜欢

转载自blog.csdn.net/weixin_42923199/article/details/84403744