-
[OOP] The Four Core Principles of OOP🐍 파이썬/파이썬 기본 문법 2022. 7. 28. 12:10
•Abstraction
•Define a concept, unrelated to a concrete instance.
•Encapsulation
•Hide implementation details (Fields cannot be overridden!).
•Inheritance
•Extend classes to reuse code (inherit behavior), is-arelationships.
•Polymorphism
•Replacing functionality in specializations. Dynamic selection of methods.
'🐍 파이썬 > 파이썬 기본 문법' 카테고리의 다른 글
[출력/print] 프린트문 고수되기 (0) 2022.08.03 [inheritance] Multiple Inheritance (0) 2022.07.29 [inheritance] 상속 with 예제 (0) 2022.07.28 [class] python-specific special method (0) 2022.07.27 [OOP] class 클래스 개념 및 구성요소 (0) 2022.07.27