What is namespace ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is namespace ?

23rd Jun 2017, 10:17 AM
Serious Sam
Serious Sam - avatar
2 Answers
+ 4
namespace is a scope of related objects, such as classes, enums, struts and ... when you use a namespace you have access all defined objects in it
23rd Jun 2017, 2:53 PM
Saeede
Saeede - avatar
+ 1
tells the compiler to use the std (standard) namespace
23rd Jun 2017, 11:23 AM
gobiga rani
gobiga rani - avatar