Object Oriented Programming 원칙 (2) - 캡슐화(encapsulation)
캡슐화 Encapsulation In object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components.[1] Encapsulation is used to hide the values or state of a structured data object inside a class, preventing direct access to them by clients in a way that could expose hidden impleme..
개발/python-객체지향프로그래밍(OOP)
2022. 5. 18. 23:09