[자료구조와 알고리즘] C++ : OOP
C++ : Object Oriented Programming (객체지향 언어) Ⅰ. Class의 정의 Ⅱ. OOP의 세 가지 특징 Ⅰ. Class의 정의 1. Class = Member's Varibles + Member's Function 2. Class = State (상태) + Method (행위) 3. Class = type, Object = Class's Instance Ⅱ. OOP의 세 가지 특징 (Object Oriented Programming) 1. Encapsulation (캡슐화) 2. Inheritance (상속) 3. Polymorphism (다형성) 1. Encapsulation (캡슐화) 상태와 행위를 가지는 객체로 모델링하는 것을 의미한다. 정보숨기기(Information H..