Encapsulation, a fundamental principle in OOP programming, refers to the bundling of attributes and the methods that work on that attributes within a single unit . This technique encourages data hiding by restricting external control to the sensitive state, enabling controlled interaction through a public interface . Effectively, encapsulation shie