자격증/OCJP_ExamD

QUESTION 24

IT grow. 2018. 8. 4. 16:57
반응형
QUESTION 24
A 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 utility class that should be accessible only to methods within the utility class itself.
What design issue has the team discovered?
A. Tight coupling
B. Low cohesion
C. High cohesion
D. Loose coupling
E. Weak encapsulation
F. Strong encapsulation
Solution : E


반응형