
TIL
2025_01_22 TIL
오늘의 할일객체지향적 설계를 위한 Class Diagram Class Diagram정적 다이어그램클래스의 구성요소 및 클래스간 관계를 표현하는 UML*접근제어자 사용법+ : publuc- : private# : protectedex) +add(int)연관관계Generalization : 상속을 의미Realization : 인터페이스를 실제로 구현하는 것.Dependency : 의존관계(클래스간의 참조) 객체생성,사용,리턴Association : 연관관계 (1:1, 1:N, N:N)Directed Association : 연관관계Aggregation : 집합관계 (Collection, Arrary이용)Composition : 강한 결합의미UML : ..