- 博客(3)
- 收藏
- 关注
continue,break
The break and continue keywords are used to stop either the entire loop (break) or just the current iteration (continue). [code="java"] public class ForLoop { public static void main(String[] a...
2009-07-16 13:25:59 112
Inheritance
public class InheritanceTest { public static void main(String[] args) { Child child = new Child(); child.test(); } } class Parent { public void test () { print(); } pri...
2009-07-06 16:39:11 151
Calendarクラス
Calendar cal1 = Calendar.getInstance(); cal1.set(Calendar.MONTH, 1); int month = cal1.get(Calendar.MONTH); int month2 = Calendar.MONTH; System.out.println(month); S...
2009-07-02 18:15:43 121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人