A class that exhibits a high degree of primitiveness encapsulates only…

2024

A class that exhibits a high degree of primitiveness encapsulates only __________ operations.

  1. A.

    Volatility

  2. B.

    Primitive

  3. C.

    Cohesive

  4. D.

    Similarity

  5. E.

    Question not attempted

Attempted by 382 students.

Show answer & explanation

Correct answer: B

In object-oriented design, a class with high primitiveness performs only basic, fundamental operations. These operations are simple and do not involve complex logic or dependencies. Such classes are easy to understand, test, and maintain. The term 'primitive' refers to operations that are atomic and minimal in nature, such as basic data access or simple calculations. A class that encapsulates only primitive operations avoids unnecessary complexity and supports modularity. This design principle helps in building robust and scalable systems.

Explore the full course: Up Lt Grade Assistant Teacher 2025