In the context of programming, "public" refers to an access modifier that allows a class, method, or variable to be accessed from anywhere in the program.
private: In programming, "private" is an access modifier that restricts the visibility of a class member (method or variable) to only within its own class.
inheritance: The mechanism of creating new classes based on existing ones, allowing for code reuse and adding additional functionality.