Sail E0 Webinar

MCQs

Total Questions : 54 | Page 6 of 6 pages
Question 51. The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . .
  1.    gibberish value
  2.    an empty string
  3.    0
  4.    NULL
 Discuss Question
Answer: Option B. -> an empty string
Question 52. All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file.
  1.    FALSE
  2.    TRUE
 Discuss Question
Answer: Option B. -> TRUE
Question 53. It is possible to create a hierarchy of namespaces in PHP.
  1.    FALSE
  2.    TRUE
 Discuss Question
Answer: Option A. -> FALSE
Question 54. Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace.
  1.    Global
  2.    Automatic
  3.    Default
  4.    PRE
 Discuss Question
Answer: Option A. -> Global

Latest Videos

Latest Test Papers