1. Home
  2. Computer Science MCQs
  3. PHP
  4. Code that uses a class, function, or method is often…

Added 22 Jan 2024

Code that uses a class, function, or method is often described as.

  1. client code Correct answer
  2. user code
  3. object code
  4. class code

Correct answer

A. client code

10 views

MCQSEXAM

Explanation

Code that calls or uses a class, function or method is described as client code. The term treats the class as a service provider and the calling code as its client.

Good object-oriented design aims to keep client code unaware of how a class does its work, so the implementation can change without breaking the callers.

Keep preparing with more Computer Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More PHP MCQs

Practise all PHP MCQs

Similar MCQs