QUESTION 18자격증/OCJP_ExamD2018. 8. 3. 17:53
Table of Contents
반응형
QUESTION 18A team of programmers is involved in reviewing a proposed design for a new utility class.After some discussion, they realize that the current design allows other classes to access methods in the utilityclass that should be accessible only to methods within the utility class itself.What design issue has the team discovered?A. Tight couplingB. Low cohesionC. High cohesionD. Loose couplingE. Weak encapsulationF. Strong encapsulationSolution : E
유틸리티 클래스 자체 내의 메소드내에서만 액세스 할 수있는 클래스를 발견했다.
--> 약한 캡슐화 , 강한 캡슐화라면 , 액세스 하는데에 문제가 없을 것이다.
반응형
'자격증 > OCJP_ExamD' 카테고리의 다른 글
QUESTION 20 (0) | 2018.08.03 |
---|---|
QUESTION 19 (0) | 2018.08.03 |
QUESTION 17 (0) | 2018.07.31 |
QUESTION 16 (0) | 2018.07.31 |
QUESTION 15 (0) | 2018.07.30 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상