adplus-dvertising
frame-decoration

Question

What is the purpose of a contract between client and server objects?

a.

To ensure that the objects operate as intended

b.

To ensure that the client only asks what is stated in the contract

c.

To ensure that the server only delivers what is stated in the contract

d.

Both b and c

Answer: (d).Both b and c Explanation:In order for a collection of objects to operate together as intended, each of the objects must be able to rely on the proper operation of the objects with which it interacts. The client will not ask more than what is stated in the contract, while the server promises to deliver what is stated in the contract.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the purpose of a contract between client and server objects?