MCQOPTIONS
Saved Bookmarks
| 1. |
What does the following PHP code segment do? |
| A. | Creates and instance of myclass and calls the mymethod metho |
| B. | Calls the mymethod method in the class statically. |
| C. | Defaults to the last-created instance of myclass and calls mymethod() |
| D. | Generates a syntax error |
| Answer» C. Defaults to the last-created instance of myclass and calls mymethod() | |