摘要:
1使用“==”可以判断对象变量值是否相等吗? public class T {public static void main (String[] args) { Foo obj1=new Foo(); Foo obj2=new Foo(); System.out.println(obj1==obj2 阅读全文
摘要:
程序源代码: public class NumberOfObject {public static int count=0; NumberOfObject() { count++;System.out.println("Constructor is going on!!!"); } public s 阅读全文