Java
文章平均质量分 64
iteye_7183
这个作者很懒,什么都没留下…
展开
-
jvm.cfg损坏
【现象】发现的起因为启动SqlDeveloper时报错,提示JVM出错。随后在命令行输入 java -version时出现以下信息:Warning: no leading - on line 1 of `C:\Java\jdk1.5.0_06\jre\lib\i386\jvm.cfg'Warning: missing VM type on line 1 of `C:\Java\...2008-10-02 16:10:34 · 2742 阅读 · 0 评论 -
Static modifier
public class Static { static int x = 0 ; public static void main(String[] args) { Static a = new Static(); Static b = new Static(); System.out.println(b.x); ...2009-06-30 16:12:51 · 135 阅读 · 0 评论 -
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 · 130 阅读 · 0 评论 -
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 · 161 阅读 · 0 评论 -
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 · 119 阅读 · 0 评论