摘要:
一、以下代码为何无法通过编译?哪儿出错了? public class Test{ public static void main(String[] args) { Foo obj1=new Foo( ); }}class Foo{ int value; public Foo(int initValu 阅读全文
摘要:
动手动脑: 一、编写一个方法,使用以上算法生成指定数目(比如1000个)的随机整数。 程序源代码: package math; public class Do { public static void main(String[] args) { int []a=new int[2000]; a[0] 阅读全文