1. Home
  2. Computer Science MCQs
  3. PHP
  4. To make the ImageHandler class portable you should create…

Added 19 Jan 2024

 To make the ImageHandler class portable you should create a separate file for it called ___.

  1. imagehandler.inc.php
  2. images.inc.php Correct answer
  3. handler.inc.php
  4. imghandler.inc.php

Correct answer

B. images.inc.php

10 views

MCQSEXAM

Explanation

The ImageHandler class portable and reusable, you should create a separate file for it, typically called a "class file" or a "library file." The naming convention for such files often follows the class name, and it commonly uses the .php extension. Therefore, you might want to name it something like ImageHandler.php.

Doubts & discussion

Not sure why the answer is B? 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