MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers Object Tools 2 knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What will be the output if a protected method is given as the argument to the function method_exist()? |
| A. | Method does not exist |
| B. | False |
| C. | Error |
| D. | True |
| Answer» E. | |
| 2. |
If you call a method and it doesn t exist it ll cause a problem. To check the method which function will you use? |
| A. | _method() |
| B. | methodexists() |
| C. | is_callable() |
| D. | is_method() |
| Answer» D. is_method() | |
| 3. |
How many times can you define _________ autoload in a process? |
| A. | once |
| B. | twice |
| C. | thrice |
| D. | as many times as needed |
| Answer» B. twice | |