Hands-On Design Patterns with Java
上QQ阅读APP看书,第一时间看更新

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.