What is Encapsulation?
Encapsulation is a fundamental principle in object-oriented programming that involves bundling data and the methods that operate on that data together within a class. It promotes data hiding, information hiding, and the concept of "encapsulating" data and behavior within a sing