MCQOPTIONS
Saved Bookmarks
| 1. |
Which one of the following is the right way to invoke a method? |
| A. | $object->methodName(); |
| B. | object->methodName(); |
| C. | object::methodName(); |
| D. | $object::methodName(); |
| Answer» B. object->methodName(); | |