A team of programmers is reviewing a proposed API for a new utility class.After some discussion, they realize that they can reduce the number of methods in the API without losing any functionality.If they implement the new design, which two principles wil

题目

A team of programmers is reviewing a proposed API for a new utility class.After some discussion, they realize that they can reduce the number of methods in the API without losing any functionality.If they implement the new design, which two principles will they be promoting?()

  • A、Looser coupling
  • B、Tighter coupling
  • C、Lower cohesion
  • D、Higher cohesion
  • E、Weaker encapsulation
  • F、Stronger encapsulation

相似考题
参考答案和解析
正确答案:A,D