class - A blueprint for creating objects in object-oriented programming, object - An instance of a class that contains specific values for its properties., attribute - A characteristic or property of a class, such as name or age in a Person class., method - A function inside a class that defines behaviors for objects, such as move() or display_info()., encapsulation - The principle of restricting direct access of an object's properties and methods to protect data., public - A method or attribute can be accessed from outside the class., private - A method or attribute can only be accessed within the class itself, inheritance - Allows a class to take on attributes and methods from another class., superclass - The parent class in an inheritance hierarchy, subclass - The child class that extends another class, polymorphism - Allows different classes to use the same method name but implement it differently., constructor - A special method that is automatically called when an object is created., instantiation - The process of creating an object from a class., overriding - When a subclass provides a new version of a method from its superclass.,

排行榜

視覺風格

選項

切換範本

恢復自動保存: ?