Question: Which design principle states that a class should describe a single entity? Select one: O a Consistency O b. Abstraction O c. Encapsulation d. Cohesion

Which design principle states that a class should describe a single entity? Select one: O a Consistency O b. Abstraction O c. Encapsulation d. Cohesion e. Correlation You are required to design an application that organizes people residing (...) in buildings. The application has a number of buildings, In each building there are apartments (-), and each apartment has a family residing in it. Which object-oriented programming concept is used to model the relationship between buildings and apartments, and between apartments and families? Select one a. Polymorphism b. Inheritance O c Encapsulation d. Abstraction e. Composition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
