Intermediate Object-Oriented Programming Concepts
Q65 / 100

What does it mean for a class to have "high cohesion"?

Correct! Well done.

Incorrect.

The correct answer is A) Its members and methods are closely related and focused on a single, well-defined purpose

A

Correct Answer

Its members and methods are closely related and focused on a single, well-defined purpose

Explanation

High cohesion means everything in the class works together toward one purpose, making the class easier to understand and maintain.

Progress
65/100