Encapsulation, a fundamental principle in object-oriented programming, refers to the combining of data and the procedures that act on that information within a single unit . This technique enables data security by restricting direct entry to the sensitive state, enabling controlled communication