What is encapsulation why encapsulate in object oriented


1. In a CRC for the Student class under the responsibility section, there is a responsibility named "RegisterStudent." Across from that responsibility in the collaborator section is a class named "Registration." Explain what all of this means.


2. There is a class named INVENTORY for a company that sells computers. List at least three attributes and at least two METHODS that would reside in INVENTORY.

2. 1. If object Z sends a message call to object T, where does the code of the method being executed reside? Explain your answer.

2. What if object X had a curved message call in a sequence diagram? What would that imply?


3. 1.What is encapsulation? Why encapsulate in object oriented development?

2. Why create Packages? How do they further the development of an object oriented system?

4. Explain the object oriented code syntax for the statement below. Be as technical as possible, focusing on the mechanics of the syntax.

In other words, break down the statement and explain what each part is doing from an object oriented point of view.

Pretend you are teaching someone object oriented code.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: What is encapsulation why encapsulate in object oriented
Reference No:- TGS01196093

Expected delivery within 24 Hours