摘要:
Class myclass(){ int a=10; static int b=20;}Class test(){ myclass A=new myclass(); A.a=10; //正确 A.b=20; //不能通过对象访问类中的静态成员 myclass.a=10; //不能通过类访问非静态成员 ... 阅读全文
posted @ 2006-11-28 14:02
hfyb
阅读(1020)
评论(0)
推荐(0)

浙公网安备 33010602011771号