Monday, 16 December 2013

Namespace

to avoid naming collision namespace used.
using namespace one
{
class-method1
class2-method2
}
using namespace two
{
class-method1
class2-method2
}

accessing same methods from 2 namespaces which have same name.

one::class->method1;
two::class->method1;

No comments:

Post a Comment