摘要: 一、类的多态、继承 类的多态:统一接口调用 #!/usr/bin/env python # -*- coding:utf-8 -*- class Animal: def __init__(self, name): # Constructor of the class self.name = name 阅读全文
posted @ 2016-03-12 00:02 Zero_zhang 阅读(110) 评论(0) 推荐(0)