Encapsultion of Algorithm with Template Method Pattern Applied
Recently, most software development uses object-oriented method. The core of object-oriented method is class, and encaptualition and inheritance structure based on class improves development efficiency. However, if the method is encapsulated, it can be developed more effectively. In this paper, we examine the differences and effects from existing methods when encapsulating a method by applying the Template Method Pattern.