answersLogoWhite

0

Can you have nested namespace

User Avatar

Anonymous

10y ago
Updated: 8/16/2019

Of course! All namespaces are nested by default since all namespaces exist in the global namespace. A class is also a namespace; therefore classes can also be nested.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is nested class and what is its use in c plus plus?

A nested structure is simply one structure inside another. The inner structure is local to the enclosing structure. struct A { struct B {}; }; Here, we can instantiate an instance of A as normal. A a; But to instantiate B we must qualify the type because it is local to A: A::B b; If B were only required by A, then we can prevent users from instantiating instances of B simply by declaring it private: struct A { private: struct B {}; };


What is nested logic?

In Nested Logic a Logic is contained within a Logic. If the Outer Logic is TRUE then the internal Logic is executed. Nested IF, Nested For, Nested While, e.t.c are some examples of Nested Logic in Modern Computer Languages.


What is Namespace in NET framework?

They are(simply put) the things that you import.... EXAMPLE: VB Import (namespace) C# Using (namespace)


When was Nested created?

Nested was created in 1977.


What are some disadvantages of using namespace in C?

Here's one: there's no namespace in C


What is the if statement that appears inside another if statement?

nested if Statement


What are examples of nested solids?

three examples of nested solids


Is have nested present past future?

"Have nested" is in the present perfect tense.


What is the user folder for an account that contains a group of subfolders called?

profile namespace


Can css comments be nested?

No, the CSS specifications explicitly state that CSS comments cannot be nested. If you try to do this, then your nested comments closing delimiter */ will close out the larger comment and anything after it will be rendered by the web browser. When comments are nested, the nested comment's beginning delimiter /* is ignored yet the closing */ is not.


What is a nested watershed?

A nested watershed is simply a watershed within a watershed. An example might be the Platte River watershed which is a nested watershed within the Missouri River watershed which in turn is nested within the Mississippi River watershed.


Is a public function accessed like a non-member function?

A public function is scoped to the class in which it is declared. If declared non-static, then it must be invoked against an instance of the class but if declared static then namespace resolution is required to access the function. A non-member function is not scoped to any class but may be scoped to a namespace. If no namespace is specified, then it is scoped to the (unnamed) global namespace. If scoped to any other namespace then namespace resolution is required to access the function.