摘要:
import java.util.Scanner; public class Number { private static int i = 0; public Number() { i++; } public static int getNumber() { return i; } public 阅读全文
posted @ 2018-10-21 17:54
符黑石
阅读(150)
评论(0)
推荐(0)
摘要:
public class Test { public static void main(String[] args) { Foo obj1=new Foo(); Foo obj2=new Foo(); System.out.println(obj1==obj2); }}class Foo{ int 阅读全文
posted @ 2018-10-21 17:45
符黑石
阅读(166)
评论(0)
推荐(0)
浙公网安备 33010602011771号