Examveda
Examveda

Which one of the following is the correct way of declaring a namespace?

A. namespace my;

B. namespace my();

C. my namespace;

D. namespace(my);

Answer: Option A

Solution(By Examveda Team)

The namespace declaration must be the first statement in its file.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept