1 (1)在类的内部定义 bool flag; 那么定义一个对象时,这个字段初始为false. (2)类内部,static方法不能访问非static成员. (因为类共有成员static不能访问对象成员). 相关文章: