Common English Expressions in Object-Oriented Programming
Object-Oriented Programming (OOP) is a programming paradigm that organizes programs around data and functionalities bundled together into units called objects.
By structuring a program into classes and objects, OOP significantly enhances code reusability and maintainability.
In object-oriented programming, expressions like inheriting from a parent class, overriding a method, and creating an object are frequently used.
To clearly convey these concepts in English, it's important to familiarize yourself with core terms, as well as commonly used verb and preposition combinations.
Let's explore some of the key expressions commonly used in object-oriented programming through examples, and summarize English expressions that accurately describe core concepts such as classes, objects, inheritance, and overriding.
Lessons in this chapter · How to Explain Code in English
- 1. Common English Phrases for Git
- 2. Key Expressions for Variables and Constants
- 3. Key Expressions for Input and Output
- 4. Key English Expressions for Operators and Expressions
- 5. Multiple-choice quiz
- 6. Common English Expressions for Functions
- 7. English Expressions for Conditional Statements
- 8. Common English Expressions for Loops
- 9. Common English Expressions in Object-Oriented Programming
- 10. Fill-in-the-blank quiz
- 11. English Expressions for Network Communication
- 12. Common English Expressions for Error Handling
- 13. Security-Related English Expressions
Generally, the verb inherit is used with the preposition 'from' to indicate the act of inheriting from a parent class.
Lecture
AI Tutor
Design
Upload
Notes
Favorites
Help
Expressions Related to Object-Oriented Programming
inherit from a parent class
Inherit is a verb used when a child class inherits the attributes and methods of a parent class. The act of inheritance can be expressed without a direct object.
override a method
Override is a verb used to redefine an inherited method with the same name.
instantiate an object
Instantiate is a verb used to create an instance of a class that can be used in the program.
access an object's property
Access is a verb used to reach or retrieve a value from a property within an object.