Vidyalelo
PHP · Q94

Object Oriented Concept

Programming · PHP · question 94

Q94

Object-oriented code tries to minimize dependencies by moving responsibility for handling tasks away from _______ and toward the objects in the system.

A.
server code
B.
client code
Answer
C.
machine code
D.
procedural code

Answer: Option B

Solution

Answer: Option B
Solution:
Procedural code takes the form of a sequential series of commands and method calls. The controlling code tends to take responsibility for handling differing conditions. This top-down control can result in the development of duplications and dependencies across a project. Object-oriented code tries to minimize these dependencies by moving responsibility for handling tasks away from client code and toward the objects in the system.