public class test{   

  public static void main(String[] args) {  
        int i=0;  
        for(printChar('A');printChar('B')&&(i<2);printChar('C')){  
            i++;  
            printChar('D');  
            System.out.println("====================");  
        }  
    }  
    public static boolean printChar(char c){  
        System.out.println(c);  
        return true;  
    }

}

相关文章:

  • 2021-12-13
猜你喜欢
  • 2021-06-08
  • 2021-06-26
  • 2022-01-14
  • 2021-12-02
  • 2021-12-31
相关资源
相似解决方案