标签:blog java ar div 2014 art on c log
public class TestRetry { public static void main(String[] args) { retry(5); } private static void retry(int maxCount) { int count = 0; boolean result = false; do { count++; System.out.println("count="+count); /* if(count==2) { result = true; }*/ } while (count<maxCount && result == false); } }
标签:blog java ar div 2014 art on c log
原文地址:http://www.cnblogs.com/lcchuguo/p/3991072.html