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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!