摘要: 阅读全文
posted @ 2020-10-12 08:11 小丑quan 阅读(62) 评论(0) 推荐(0)
摘要: public class OOP { /** * 避免通过一个类的对象引用访问此类的静态变量或者静态方法 * 直接通过类名去访问 */ // 错误使用例子: public static void main(String[] args) { Student student = new Student( 阅读全文
posted @ 2020-10-12 07:50 小丑quan 阅读(117) 评论(0) 推荐(0)