Axaptapedia is now maintained by AgileCadence For more information please click here.

Encapsulation

From Axaptapedia
Jump to: navigation, search

In object-oriented programming encapsulation means that code that logically belongs together is placed in a single entity, namely a class. Accessing code and modifying class variables is achieved by using public class methods.