- Hands-On Design Patterns with Java
- Dr. Edward Lavieri
- 53字
- 2021-06-24 14:57:59
Object-oriented programming approaches
OOP represents an efficient way to develop portable and secure code. The key to implementing OOP in our applications includes several approaches to include the following:
- Accessors and mutators
- Driver class
- Constructors
- Overloading constructors and methods
- Method call chaining
Each of these approaches is covered in the sections that follow.