Getter Method:A function within the class that retrieves (or "gets") the current value of an attribute. In this case, it would be something like getAge() which returns the current age value.
Constructor:A special method used to create an instance (object) of a class. It sets initial values for attributes when creating an object. For example, when creating our Person object we may have used constructors to initialize its name and other attributes.
Encapsulation:The concept of wrapping data (attributes) and methods inside a single unit (class), providing control over how they are accessed and modified from outside.