A class that exhibits a high degree of primitiveness encapsulates only…
2024
A class that exhibits a high degree of primitiveness encapsulates only __________ operations.
- A.
Volatility
- B.
Primitive
- C.
Cohesive
- D.
Similarity
- 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.