Select from following answers:- Namespaces are a way of grouping type names and reducing the chances of name collisions.
- Namespace is a logical division of class,structure and interface.
- We can have Nested Namespaces.
- All of the above.
- All Above
Above all statements are correct about Namespace.
For Example:-
namespace one
{
namespace two
{
namespace three
{
class class_1 {}
class class_2 {}
class class_3 {}
}
}
}
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator