摘要: 本来想测试一下。while里面用两个if嵌套判断的话,用break是跳出到什么地方。代码如下 1 public class testIFbreak { 2 public static void main(String[] args) { 3 int iLoopCount=0; 4 while (true) { 5 ++iLoopCount; 6 if (true) { 7 if (iLoopCount==2) { 8 System.ou... 阅读全文
posted @ 2012-09-06 23:30 陈哈哈 阅读(15655) 评论(0) 推荐(0) 编辑
摘要: 09-06 20:13:48.298: E/AndroidRuntime(11463): FATAL EXCEPTION: Thread-1109-06 20:13:48.298: E/AndroidRuntime(11463): java.lang.IllegalStateException09-06 20:13:48.298: E/AndroidRuntime(11463): at android.media.MediaPlayer.getCurrentPosition(Native Method)09-06 20:13:48.298: E/AndroidRuntime(11463): . 阅读全文
posted @ 2012-09-06 23:17 陈哈哈 阅读(9771) 评论(1) 推荐(0) 编辑