public class test01 { private static Integer count=0; public test01() { ++count; System.out.println(count); } public static void main(String[] args) { test01 test01 = new test01(); test01 test02 = new test01(); test01 test03 = new test01(); }}
Sign in to make a reply
用户7427980155