摘要: firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running) [root@localhost ~]#firewall-cmd --state not running [root@localhost ~]#firewall-cmd --st 阅读全文
posted @ 2018-05-23 14:50 小丶灰机 阅读(140) 评论(0) 推荐(0) 编辑
摘要: (1)判断一个对象是否是某个类的实例。 (2)判断一个对象是否实现了某个接口。 阅读全文
posted @ 2018-05-23 14:50 小丶灰机 阅读(141) 评论(0) 推荐(0) 编辑
摘要: self:指的是当前类。 static:指的是当前类的父类。 阅读全文
posted @ 2018-05-23 14:50 小丶灰机 阅读(1647) 评论(0) 推荐(0) 编辑