When would you use classes and when would you use namespaces?
Answer(s): A
Which of these elements can be encapsulated by namespaces and made accessible from the outside?
Answer(s): B
You'd like to use the class MyDBConnection that's defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize *as much as possible* the length of the class name you have to type. What would you do?
Answer(s): C
How should you track errors on your production website?
What would be the output of the following code?namespace MyFramework\DB;class MyClass {static function myName() {return __METHOD__;}}print MyClass::myName();
Post your Comments and Discuss Zend 200-550 exam prep with other Community members: