Skip to content

Java面向对象编程

封装

封装是OOP的基本原则之一...

继承

java
class Animal {}
class Dog extends Animal {}

Released under the MIT License.