캡슐화: 두 판 사이의 차이

내용 삭제됨 내용 추가됨
잔글편집 요약 없음
잔글편집 요약 없음
1번째 줄:
'''[[객체 지향 프로그래밍]]'''에서 '''캡슐화'''는 다음 2가지 측면이 있다:<ref>{{llang|en|Michael Lee Scott, ''Programming language pragmatics'', Edition 2, Morgan Kaufmann, 2006, ISBN 0-12-633951-1, p. 481: "Encapsulation mechanisms enable the programmer to group data and the subroutines that operate on them together in one place, and to hide irrelevant details from the users of an abstraction."}}</ref><ref>{{llang|en|Nell B. Dale, Chip Weems, ''Programming and problem solving with Java'', Edition 2, Jones & Bartlett Publishers, 2007, ISBN 0-7637-3402-0, p. 396}}</ref>
{{출처 필요}}
'''[[객체 지향 프로그래밍]]'''에서 '''캡슐화'''는 다음 2가지 측면이 있다:
* 객체의 속성(data fields)과 행위(메서드, methods)를 하나로 묶고,
* 실제 구현 내용 일부를 외부에 감추어 은닉 한다.
줄 49 ⟶ 48:
};
</source>
 
== 주석 ==
<references/>
 
== 같이 보기 ==