nerdexam
Oracle

1Z0-851 · Question #194

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…

The correct answer is E. Weak encapsulation. See the full explanation below for the reasoning.

Question

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?

Options

  • ATight coupling
  • BLow cohesion
  • CHigh cohesion
  • DLoose coupling
  • EWeak encapsulation
  • FStrong encapsulation

How the community answered

(37 responses)
  • B
    5% (2)
  • C
    14% (5)
  • D
    3% (1)
  • E
    76% (28)
  • F
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-851 Practice