Inheritance lets us write new classes that share behavior with their base class(es) but redefine that behavior as needed.

 
  • 继承使我们能够编写新类,新类与基类共享行为但重定义必要的行为。
今日热词
目录 附录 查词历史